diff --git a/nginx-fem-redirects.conf b/nginx-fem-redirects.conf index e56116d..f23990a 100644 --- a/nginx-fem-redirects.conf +++ b/nginx-fem-redirects.conf @@ -17,8 +17,8 @@ location ~* ^/projects/(?:_next|assets)/.+?$ { # 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; + proxy_pass $fe_content_pages_uri; + proxy_set_header Host $fe_content_pages_host; include /etc/nginx/proxy-security-headers.conf; } diff --git a/nginx-fem-staging-redirects.conf b/nginx-fem-staging-redirects.conf index e327069..4d63685 100644 --- a/nginx-fem-staging-redirects.conf +++ b/nginx-fem-staging-redirects.conf @@ -17,8 +17,8 @@ location ~* ^/projects/(?:_next|assets)/.+?$ { # 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; + proxy_pass $fe_content_pages_uri; + proxy_set_header Host $fe_content_pages_host; include /etc/nginx/proxy-security-headers.conf; }