README: add nginx reverse proxy config example

This commit is contained in:
kaso17 2018-07-27 18:08:42 +02:00
parent c4e3aa8a64
commit a5ec65bff3
1 changed files with 13 additions and 0 deletions

View File

@ -373,6 +373,19 @@ Example config for apache:
</Location>
```
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_redirect off;
}
```
## Troubleshooting
* __Command line switches__