Skip to content

Commit

Permalink
Also staging
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Sep 12, 2024
1 parent 6312c13 commit 620021d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nginx-fem-staging-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ location /mock {
include /etc/nginx/proxy-security-headers.conf;
}

# Mock route, fe-root app data and static files
location ~* ^/mock/(?:_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;
}

# Project app data and static files
location ~* ^/projects/(?:_next|assets)/.+?$ {
resolver 1.1.1.1;
Expand Down

0 comments on commit 620021d

Please sign in to comment.