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 4cf263d..3d62832 100644
--- a/src/site/setup_proxy.mkd
+++ b/src/site/setup_proxy.mkd
@@ -47,6 +47,7 @@
 

 # 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