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:
@@ -1,3 +1,3 @@
|
||||
location / {
|
||||
add_header X-Frame-Options "DENY";
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
}
|
||||
Reference in New Issue
Block a user