Commit b4e8f833 authored by omega8cc's avatar omega8cc

Nginx: Add recommended HTTP headers

parent 41a39b85
......@@ -85,6 +85,13 @@ if ($is_denied) {
return 403;
}
###
### Add recommended HTTP headers
###
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
###
### Support for letsencrypt.org per https://tools.ietf.org/html/rfc5785.
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment