mirror of https://github.com/Jackett/Jackett
update apache example reverse proxy config
This commit is contained in:
parent
de2f6eeabf
commit
42b9e2a406
|
@ -342,9 +342,12 @@ When running jackett behind a reverse proxy make sure that the original hostname
|
||||||
|
|
||||||
Example config for apache:
|
Example config for apache:
|
||||||
```
|
```
|
||||||
ProxyPreserveHost On
|
<Location /jackett>
|
||||||
RequestHeader set X-Forwarded-Proto "https"
|
ProxyPreserveHost On
|
||||||
ProxyPass /jackett http://127.0.0.1:9117/
|
RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME}
|
||||||
|
ProxyPass http://127.0.0.1:9117
|
||||||
|
ProxyPassReverse http://127.0.0.1:9117
|
||||||
|
</Location>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
Loading…
Reference in New Issue