WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #40020, comment 8


Ignore:
Timestamp:
04/10/2018 02:20:35 PM (20 months ago)
Author:
fullyint
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40020, comment 8

    v1 v2  
    1818  set $x_frame_options "";
    1919}
    20 add_header X-Frame-Options $x_frame_options;
     20add_header X-Frame-Options $x_frame_options always;
    2121
    22 add_header Content-Security-Policy "frame-ancestors 'self'";
     22add_header Content-Security-Policy "frame-ancestors 'self'" always;
    2323}}}
     24
     25Edit: Added `always` parameter to example Nginx code block.