File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ nginx_drupal_upstream_backup_servers: ["unix:/var/run/php-fpm-bkp.sock"]
2929nginx_drupal_sites : none
3030nginx_drupal_http_pre_includes : []
3131nginx_drupal_http_post_includes : []
32- nginx_drupal_language_path_prefixes : []
32+ nginx_drupal_language_path_prefixes : []
33+ nginx_drupal_xframe_options : " SAMEORIGIN"
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ http {
169169 #add_header X-Frame-Options SAMEORIGIN;
170170 ## For sites accepting to be framed in any context comment the
171171 ## line below.
172- add_header X-Frame-Options DENY ;
172+ add_header X-Frame-Options {{ nginx_drupal_xframe_options }} ;
173173
174174 ## Block MIME type sniffing on IE.
175175 add_header X-Content-Options nosniff;
You can’t perform that action at this time.
0 commit comments