Skip to content

Commit fd8554d

Browse files
committed
Update Nest proxy
1 parent ebc41a4 commit fd8554d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

proxy/production.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ server {
1616
proxy_set_header X-Real-IP $remote_addr;
1717
}
1818

19-
location ~ ^/(a|api|graphql|integrations)/ {
19+
location ~ ^/(a|api|graphql|idx|integrations)/ {
2020
proxy_pass http://production-nest-backend:8000;
2121
proxy_set_header Host $host;
2222
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy/staging.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ server {
2323
proxy_set_header X-Real-IP $remote_addr;
2424
}
2525

26-
location ~ ^/(a|api|graphql|integrations)/ {
26+
location ~ ^/(a|api|graphql|idx|integrations)/ {
2727
proxy_pass http://staging-nest-backend:8000;
2828
proxy_set_header Host $host;
2929
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)