mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
README: add nginx reverse proxy config example
This commit is contained in:
parent
c4e3aa8a64
commit
a5ec65bff3
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -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__
|
||||
|
|
Loading…
Add table
Reference in a new issue