Compose files, instructions and extras for using my automatic proxy containers
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910 |
- # Enables HTTP Strict Transport Security (HSTS) which instructs browsers to
- # always request the resource over HTTPS, preventing a stripping/downgrade
- # attack.
-
- map $scheme $hsts_header {
- https max-age=31536000;
- }
-
- add_header Strict-Transport-Security $hsts_header;
|