From 2b9cf2d7391323dee6a20c3150873e203db7ac05 Mon Sep 17 00:00:00 2001 From: kaso17 <kaso17@users.noreply.github.com> Date: Tue, 23 Jan 2018 20:22:38 +0100 Subject: [PATCH] update apache example reverse proxy config --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c3aa7df..863e0589 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 -- GitLab