diff --git a/README.md b/README.md index 9c3aa7df0ff79ff5877ac84c4a83e984ad4ddab9..863e05896a6c193478d3f0adeba466874d5ab1e2 100644 --- a/README.md +++ b/README.md @@ -342,9 +342,12 @@ When running jackett behind a reverse proxy make sure that the original hostname Example config for apache: ``` -ProxyPreserveHost On -RequestHeader set X-Forwarded-Proto "https" -ProxyPass /jackett http://127.0.0.1:9117/ +<Location /jackett> + ProxyPreserveHost On + RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME} + ProxyPass http://127.0.0.1:9117 + ProxyPassReverse http://127.0.0.1:9117 +</Location> ``` ## Troubleshooting