From: RainerW Date: Mon, 23 Jan 2017 18:35:25 +0000 (+0100) Subject: when apache terminates https, the Ajax-Location header needs to be rewritten as well X-Git-Tag: r1.9.0~61^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1183%2Fhead;p=gitblit.git when apache terminates https, the Ajax-Location header needs to be rewritten as well --- diff --git a/src/site/setup_proxy.mkd b/src/site/setup_proxy.mkd index 4cf263dd..3d628329 100644 --- a/src/site/setup_proxy.mkd +++ b/src/site/setup_proxy.mkd @@ -47,6 +47,7 @@ ProxyPreserveHost On # If your httpd frontend is https but you are proxying http Gitblit WAR or GO #Header edit Location ^http://([^/]+)/gitblit/ https://$1/gitblit/ +#Header edit Ajax-Location ^http://([^/]+)/gitblit/ https://$1/gitblit/ # Additionally you will want to tell Gitblit the original scheme and port #RequestHeader set X-Forwarded-Proto https