Compose files, instructions and extras for using my automatic proxy containers
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617
  1. # General security-related directives.
  2. # Don't offer up information about the version of Nginx we use
  3. server_tokens off;
  4. # Don't allow other websites to present our content in a frame/iframe.
  5. # This mitigates clickjacking attacks.
  6. add_header X-Frame-Options "SAMEORIGIN";
  7. # Don't allow browsers to try and sniff content types. This prevents
  8. # malicious user-generated content being misinterpreted.
  9. add_header X-Content-Type-Options "nosniff";
  10. # Enable XSS protection, if browsers don't already have it enabled
  11. # by default.
  12. add_header X-XSS-Protection "1; mode=block";