diff --git a/sites/frontend.preview.zooniverse.org.conf b/sites/frontend.preview.zooniverse.org.conf index d9d6f1e..66a7e89 100644 --- a/sites/frontend.preview.zooniverse.org.conf +++ b/sites/frontend.preview.zooniverse.org.conf @@ -95,6 +95,15 @@ server { return 301 /projects/laac-lscp/maturity-of-baby-sounds$1$2$is_args$query_string; } + # Use a preferential prefix to route all projects to FEM + location ^~ /projects { + resolver 1.1.1.1; + proxy_pass $fe_project_uri; + proxy_set_header Host $fe_project_host; + + include /etc/nginx/proxy-security-headers.conf; + } + # fe-root staging app location / { resolver 1.1.1.1;