Updated External Webserver use: Reverse proxy (markdown)

Aurora Lahtela 2022-09-25 13:20:27 +03:00
parent 8f07085478
commit d686fe54f8

@ -26,6 +26,7 @@ server {
location / { location / {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:8804; proxy_pass http://127.0.0.1:8804;
} }
} }
@ -48,6 +49,7 @@ server {
location / { location / {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:8804; proxy_pass http://127.0.0.1:8804;
} }
} }