Compose files, instructions and extras for using my automatic proxy containers
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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