diff --git a/nginx.conf.sample b/nginx.conf.sample index be5cff37e8e61..eb0063b0f10af 100644 --- a/nginx.conf.sample +++ b/nginx.conf.sample @@ -101,7 +101,7 @@ location / { } location /pub/ { - location ~ ^/pub/media/(downloadable|customer|import|custom_options|theme_customization/.*\.xml) { + location ~ ^/pub/media/(downloadable|customer|customer_address|import|custom_options|theme_customization/.*\.xml) { deny all; } alias $MAGE_ROOT/pub/; @@ -189,6 +189,10 @@ location /media/customer/ { deny all; } +location /media/customer_address/ { + deny all; +} + location /media/downloadable/ { deny all; }