Add the always param to the X-Frame-Options header

This ensures that the header is added to all responses regardless of response code.

More information: http://nginx.org/en/docs/http/ngx_http_headers_module.html
This commit is contained in:
Sam Van Campenhout
2021-10-13 16:01:52 +02:00
parent 6bdb5a7e57
commit 1c25a0192c

View File

@@ -1,3 +1,3 @@
location / {
add_header X-Frame-Options "DENY";
add_header X-Frame-Options "DENY" always;
}