Skip to content

Commit 172dfaa

Browse files
committed
MAGETWO-43510: x-frame-options missing from setup
- Fixed based on QA feedback.
1 parent 968b45a commit 172dfaa

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
@@ -90,6 +90,7 @@ location /static/ {
9090
if (!-f $request_filename) {
9191
rewrite ^/static/(version\d*/)?(.*)$ /static.php?resource=$2 last;
9292
}
93+
add_header X-Frame-Options "SAMEORIGIN";
9394
}
9495

9596
location /media/ {
@@ -109,6 +110,7 @@ location /media/ {
109110
expires off;
110111
try_files $uri $uri/ /get.php?$args;
111112
}
113+
add_header X-Frame-Options "SAMEORIGIN";
112114
}
113115

114116
location /media/customer/ {

0 commit comments

Comments
 (0)