mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Nginx: forward host and ip
This commit is contained in:
parent
e69bc23c15
commit
3c46100dbc
1 changed files with 2 additions and 0 deletions
|
@ -6,4 +6,6 @@ location /static/ {
|
|||
|
||||
location / {
|
||||
proxy_pass http://copanier/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue