README: update nginx reverse-proxy example

This commit is contained in:
kaso17 2018-08-22 18:18:00 +02:00
parent 074f0da27f
commit 7889077498
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}
```