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.

security.conf 603B

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";