From 9df4438416a18b070e904c510d02fe61250f7c2c Mon Sep 17 00:00:00 2001 From: butschster Date: Tue, 9 Apr 2024 22:56:22 +0400 Subject: [PATCH] Proxy buggregator host and IP --- nginx/default.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx/default.conf b/nginx/default.conf index 31ebce8..b45f9cd 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -16,9 +16,12 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; } location / { - proxy_pass http://127.0.0.1:8082; + proxy_pass http://127.0.0.1:8082i; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; } }