From d686fe54f847bab1fe1b28232c57db20daec2136 Mon Sep 17 00:00:00 2001 From: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Sun, 25 Sep 2022 13:20:27 +0300 Subject: [PATCH] Updated External Webserver use: Reverse proxy (markdown) --- External-Webserver-use:-Reverse-proxy.md | 2 ++ 1 file changed, 2 insertions(+) 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; } }