We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba5767d commit a51674dCopy full SHA for a51674d
roles/wordpress-setup/templates/wordpress-site.conf.j2
@@ -206,14 +206,7 @@ server {
206
{% block embed_security -%}
207
{% if item.value.nginx_embed_security | default(nginx_embed_security | default(true)) -%}
208
add_header Content-Security-Policy "frame-ancestors 'self'" always;
209
-
210
- # Conditional X-Frame-Options until https://core.trac.wordpress.org/ticket/40020 is resolved
211
- set $x_frame_options SAMEORIGIN;
212
- if ($arg_customize_changeset_uuid) {
213
- set $x_frame_options "";
214
- }
215
- add_header X-Frame-Options $x_frame_options always;
216
+ add_header X-Frame-Options SAMEORIGIN always;
217
{% endif -%}
218
{% endblock -%}
219
0 commit comments