Compose files, instructions and extras for using my automatic proxy containers
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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