Skip to content

Commit 1090c8b

Browse files
⏫ Forwardport of #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. 32d30a5
1 parent 8e77e2f commit 1090c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ location /static/ {
100100

101101
# Remove signature of the static files that is used to overcome the browser cache
102102
location ~ ^/static/version {
103-
rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last;
103+
rewrite ^/static/(version[^/]+/)?(.*)$ /static/$2 last;
104104
}
105105

106106
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {

0 commit comments

Comments
 (0)