File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ location / {
93
93
}
94
94
95
95
location /pub/ {
96
- location ~ ^/pub/media/(downloadable|customer|import|theme_customization/.*\.xml) {
96
+ location ~ ^/pub/media/(downloadable|customer|import|custom_options| theme_customization/.*\.xml) {
97
97
deny all;
98
98
}
99
99
alias $MAGE_ROOT/pub/;
@@ -166,6 +166,11 @@ location /media/downloadable/ {
166
166
location /media/import/ {
167
167
deny all;
168
168
}
169
+
170
+ location /media/custom_options/ {
171
+ deny all;
172
+ }
173
+
169
174
location /errors/ {
170
175
location ~* \.xml$ {
171
176
deny all;
Original file line number Diff line number Diff line change
1
+ <IfVersion < 2.4 >
2
+ order deny,allow
3
+ deny from all
4
+ </IfVersion >
5
+ <IfVersion >= 2.4 >
6
+ Require all denied
7
+ </IfVersion >
You can’t perform that action at this time.
0 commit comments