mirror of https://github.com/Jackett/Jackett
README: update nginx reverse-proxy example
This commit is contained in:
parent
074f0da27f
commit
7889077498
|
@ -386,11 +386,10 @@ Example config for nginx:
|
|||
```
|
||||
location /jackett {
|
||||
proxy_pass http://127.0.0.1:9117;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue