Compose files, instructions and extras for using my automatic proxy containers
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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;