mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
README: add nginx reverse proxy config example
This commit is contained in:
13
README.md
13
README.md
@@ -373,6 +373,19 @@ Example config for apache:
|
|||||||
</Location>
|
</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
|
## Troubleshooting
|
||||||
|
|
||||||
* __Command line switches__
|
* __Command line switches__
|
||||||
|
Reference in New Issue
Block a user