diff --git a/nginx-pfe-staging-redirects.conf b/nginx-pfe-staging-redirects.conf index 188df5e..06f0f72 100644 --- a/nginx-pfe-staging-redirects.conf +++ b/nginx-pfe-staging-redirects.conf @@ -10,7 +10,7 @@ location ~* ^/projects/(?:_next|assets)/.+?$ { } # PFE assets -location ~ \.(js|css)$ { +location ~ ^/[\w-]+\.(js|css)$ { resolver 1.1.1.1; proxy_pass https://zooniversestatic.z13.web.core.windows.net/$proxy_path$request_uri; include /etc/nginx/az-proxy-headers.conf;