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;