Skip to content

Commit

Permalink
Merge pull request #368 from zooniverse/fe-content-pages-revert-2
Browse files Browse the repository at this point in the history
Route root asset folders to fe-content-pages
  • Loading branch information
zwolf authored Sep 11, 2024
2 parents 7d040a7 + de23369 commit 4c7ee9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nginx-fem-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions nginx-fem-staging-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4c7ee9e

Please sign in to comment.