Skip to content

Commit 6009980

Browse files
committed
Update proxy backend endpoints
1 parent d47e4ce commit 6009980

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

proxy/production.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server {
2626
proxy_set_header X-Real-IP $remote_addr;
2727
}
2828

29-
location ~ ^/(a|api|csrf|graphql|idx|integrations|sitemap(?:\.xml)?|status)(/|$) {
29+
location ~ ^/(a|api/v1|csrf|graphql|idx|integrations|sitemap(?:\.xml)?|status)(/|$) {
3030
proxy_pass http://production-nest-backend:8000;
3131
proxy_set_header Host $host;
3232
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy/staging.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server {
2626
proxy_set_header X-Real-IP $remote_addr;
2727
}
2828

29-
location ~ ^/(a|api|csrf|graphql|idx|integrations|sitemap(?:\.xml)?|status)(/|$) {
29+
location ~ ^/(a|api/v1|csrf|graphql|idx|integrations|sitemap(?:\.xml)?|status)(/|$) {
3030
proxy_pass http://staging-nest-backend:8000;
3131
proxy_set_header Host $host;
3232
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)