From 1090c8b54733b409a17553bfeb3ec292d449e5ce Mon Sep 17 00:00:00 2001 From: Magento EngCom Team Date: Wed, 24 Jan 2018 12:15:15 -0600 Subject: [PATCH] :arrow_double_up: Forwardport of magento/magento2#12521 to 2.3-develop branch Applied pull request patch https://github.com/magento/magento2/pull/12521.patch (created by @scottsb) based on commit(s): 1. 32d30a537e6fa40ad28c8474cdab89ac43fe82ae --- nginx.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf.sample b/nginx.conf.sample index 58c059657c070..266fde80e222e 100644 --- a/nginx.conf.sample +++ b/nginx.conf.sample @@ -100,7 +100,7 @@ location /static/ { # Remove signature of the static files that is used to overcome the browser cache location ~ ^/static/version { - rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last; + rewrite ^/static/(version[^/]+/)?(.*)$ /static/$2 last; } location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {