Originally reported on Google Code with ID 76
I access gitblit through the apache proxy (apache works with SSL enabled):
# enable gitblit access
SSLProxyEngine On
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
<proxy>
AddDefaultCharset off
Order deny,allow
Allow from all
</proxy>
ProxyPass /gitblit http://localhost:8080/gitblit
ProxyPassReverse /gitblit http://localhost:8080/gitblit
All works fine except the login and logout in the gitblit page. When I press Login
or Logout link (or button) my browser goes to http://<host>/gitblit instead of https://<host>/gitblit.
Another links on the gitblit pages work fine.
Some of the gitblit.property sets:
web.mountParameters = false
server.httpBindInterface = localhost
server.httpPort = 8080
server.httpsPort = 0
server.contextPath = /gitblit
Of cause, I can use https in gitblit, but I catched some problems with it - my browser
shows the following message when I open gitblit page:
Error during SSL Handshake with remote server
It's an apache's proxy error. I was googling for some time and some user adviced me
to enable only localhost access to gitblit server and to use http protocol instead
of https one.
</host></host>
Reported by 2sh2ka on 2012-03-19 18:39:10
该提问来源于开源项目:gitblit/gitblit