mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
Created Reverse proxy with Apache (markdown)
13
Reverse-proxy-with-Apache.md
Normal file
13
Reverse-proxy-with-Apache.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
### Prerequisites
|
||||||
|
1. Is installed and running on your server.
|
||||||
|
2. GitBucket is running on some `port`. The default is `8080`.
|
||||||
|
|
||||||
|
### Apache HTTP server set up
|
||||||
|
1. Install and enable `mod_proxy` and `mod_proxy_http` modules.
|
||||||
|
2. Add the following to your site configuration (assuming your GitBucket prefix is "gitbucket"):
|
||||||
|
|
||||||
|
ProxyPreserveHost On
|
||||||
|
ProxyPass /gitbucket http://localhost:8080/gitbucket
|
||||||
|
ProxyPassReverse /gitbucket http://localhost:8080/gitbucket
|
||||||
|
|
||||||
|
> Note! Apache and GitBucket context paths must be equal.
|
||||||
Reference in New Issue
Block a user