port. The default is 8080.mod_proxy and mod_proxy_http modules.AllowEncodedSlashes NoDecode # ... or "On" for Apache-2.2 ProxyPreserveHost On ProxyPass /gitbucket http://localhost:8080/gitbucket ProxyPassReverse /gitbucket http://localhost:8080/gitbucket
Note! Apache and GitBucket context paths must be equal:
java -jar gitbucket.war --port=8080 --prefix=/gitbucket(Note the leading / in the prefix)