OpenSource CLI-App to install and handle stuff related to Web-Server
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.

16 lines
858 B

4 years ago
  1. # X-Frame-Options is an HTTP header that allows sites control over how your site may be framed within an iframe
  2. # https://infosec.mozilla.org/guidelines/web_security#x-frame-options
  3. add_header X-Frame-Options DENY;
  4. # send referrer, but only on requests to the same origin
  5. # https://infosec.mozilla.org/guidelines/web_security#referrer-policy
  6. add_header Referrer-Policy same-origin;
  7. # This header enables the Cross-site scripting (XSS) filter
  8. # https://infosec.mozilla.org/guidelines/web_security#x-xss-protection
  9. add_header X-XSS-Protection "1; mode=block";
  10. # when serving user-supplied content, include a X-Content-Type-Options: nosniff header along with the Content-Type: header,
  11. # to disable content-type sniffing on some browsers.
  12. # https://infosec.mozilla.org/guidelines/web_security#x-content-type-options
  13. add_header X-Content-Type-Options nosniff;