Skip to content

Commit 6a024f1

Browse files
author
Dale Sikkema
committed
MAGETWO-40265: sensitive resources are web-accessible
- update nginx config per proposal
1 parent 8e8e0ce commit 6a024f1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

nginx.conf.sample

-7
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ location /pub {
6262
location ~ ^/pub/media/(downloadable|customer|import|theme_customization/.*\.xml) {
6363
deny all;
6464
}
65-
location /pub/errors {
66-
deny all;
67-
}
6865
alias $MAGE_ROOT/pub;
6966
}
7067

@@ -124,10 +121,6 @@ location /media/import/ {
124121
deny all;
125122
}
126123

127-
location /errors/ {
128-
deny all;
129-
}
130-
131124
location ~ cron\.php {
132125
deny all;
133126
}

0 commit comments

Comments
 (0)