diff --git a/nginx-fem-redirects.conf b/nginx-fem-redirects.conf index b7e09a5..bdfc874 100644 --- a/nginx-fem-redirects.conf +++ b/nginx-fem-redirects.conf @@ -12,6 +12,15 @@ location ~* ^/projects/(?:_next|assets)/.+?$ { include /etc/nginx/proxy-security-headers.conf; } +# Root app data and static files +location ~* ^/(?:_next|assets)/.+?$ { + resolver 1.1.1.1; + proxy_pass $fe_root_uri; + proxy_set_header Host $fe_root_host; + + include /etc/nginx/proxy-security-headers.conf; +} + # Zooniverse About pages, prefix match location /about { resolver 1.1.1.1;