Skip to content

Commit 968b45a

Browse files
committed
MAGETWO-43510: x-frame-options missing from setup
- Changed in nginx configuration based on reviewers suggestion.
1 parent 4995ffc commit 968b45a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nginx.conf.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ location /setup {
3636
location ~ /setup/(?!pub/). {
3737
deny all;
3838
}
39+
add_header X-Frame-Options "SAMEORIGIN";
3940
}
4041

4142
location /update {
@@ -63,6 +64,7 @@ location /pub {
6364
deny all;
6465
}
6566
alias $MAGE_ROOT/pub;
67+
add_header X-Frame-Options "SAMEORIGIN";
6668
}
6769

6870
location /static/ {

0 commit comments

Comments
 (0)