mirror of
https://github.com/Jackett/Jackett
synced 2024-12-30 19:58:39 +00:00
README: update nginx reverse-proxy example
This commit is contained in:
parent
074f0da27f
commit
7889077498
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue