mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-26 04:36:22 +01:00
Updated External Webserver use: Reverse proxy (markdown)
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user