diff --git a/External-Webserver-use:-Reverse-proxy.md b/External-Webserver-use:-Reverse-proxy.md index a828ca6..5bc8df4 100644 --- a/External-Webserver-use:-Reverse-proxy.md +++ b/External-Webserver-use:-Reverse-proxy.md @@ -26,6 +26,7 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://127.0.0.1:8804; } } @@ -48,6 +49,7 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://127.0.0.1:8804; } }