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; } }