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.

hsts.conf 274B

12345678910
  1. # Enables HTTP Strict Transport Security (HSTS) which instructs browsers to
  2. # always request the resource over HTTPS, preventing a stripping/downgrade
  3. # attack.
  4. map $scheme $hsts_header {
  5. https max-age=31536000;
  6. }
  7. add_header Strict-Transport-Security $hsts_header;