From 609898910b1cced49ae1b7fdc0c696e2aa7cc42e Mon Sep 17 00:00:00 2001 From: Vaidas Pilkauskas Date: Mon, 20 Jan 2014 04:06:05 -0800 Subject: [PATCH] Created Reverse proxy with Apache (markdown) --- Reverse-proxy-with-Apache.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Reverse-proxy-with-Apache.md diff --git a/Reverse-proxy-with-Apache.md b/Reverse-proxy-with-Apache.md new file mode 100644 index 0000000..d774078 --- /dev/null +++ b/Reverse-proxy-with-Apache.md @@ -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. \ No newline at end of file