Skip to content

Commit

Permalink
Revert /about and /get-involved to content-pages app
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Sep 11, 2024
1 parent c21a3d6 commit 96cba5f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nginx-fem-redirects.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set $fe_project_uri "https://fe-project.zooniverse.org";
set $fe_content_pages_uri "https://fe-content-pages.zooniverse.org";
set $fe_root_uri "https://fe-root.zooniverse.org";
set $fe_project_host "fe-project.zooniverse.org";
set $fe_content_pages_host "fe-content-pages.zooniverse.org";
set $fe_root_host "fe-root.zooniverse.org";

# Project app data and static files
Expand All @@ -24,17 +26,17 @@ location ~* ^/(?:_next|assets)/.+?$ {
# Zooniverse About pages, prefix match
location /about {
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;
}

# Zooniverse Get Involved pages, prefix match
location /get-involved {
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 96cba5f

Please sign in to comment.