Skip to content

Commit 1228c60

Browse files
feat: set header on proxy
1 parent e3c6156 commit 1228c60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

metaploy/travel.metaploy.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ server {
77

88
location / {
99
proxy_pass http://travel_buddy;
10+
11+
proxy_set_header Host $host;
12+
proxy_set_header X-Forwarded-Host $host;
1013
}
1114
}

0 commit comments

Comments
 (0)