Skip to content

Commit

Permalink
Fix staging asset regex (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf authored Sep 16, 2024
1 parent 7c135c5 commit 7bfd2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx-pfe-staging-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7bfd2fa

Please sign in to comment.