summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainerW <github@inforw.de>2017-01-23 19:35:25 +0100
committerRainerW <github@inforw.de>2017-01-23 19:35:25 +0100
commit8ae899ac193a5864d6bfb17bc999a9099de3bd7b (patch)
treee3a8590c535f439f5bb32548c916ad00eee64562
parent52869d49e6901dd74f740ccc24fb5d81a7deae20 (diff)
downloadgitblit-8ae899ac193a5864d6bfb17bc999a9099de3bd7b.tar.gz
gitblit-8ae899ac193a5864d6bfb17bc999a9099de3bd7b.zip
when apache terminates https, the Ajax-Location header needs to be rewritten as well
-rw-r--r--src/site/setup_proxy.mkd1
1 files changed, 1 insertions, 0 deletions
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