Skip to content

Commit 9df4438

Browse files
committed
Proxy buggregator host and IP
1 parent e736a8d commit 9df4438

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nginx/default.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ server {
1616
proxy_set_header Upgrade $http_upgrade;
1717
proxy_set_header Connection $connection_upgrade;
1818
proxy_set_header Host $host;
19+
proxy_set_header X-Real-IP $remote_addr;
1920
}
2021

2122
location / {
22-
proxy_pass http://127.0.0.1:8082;
23+
proxy_pass http://127.0.0.1:8082i;
24+
proxy_set_header Host $host;
25+
proxy_set_header X-Real-IP $remote_addr;
2326
}
2427
}

0 commit comments

Comments
 (0)