summaryrefslogtreecommitdiff
path: root/clientgerrit/root/config/apache2_gerrit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'clientgerrit/root/config/apache2_gerrit.conf')
-rwxr-xr-xclientgerrit/root/config/apache2_gerrit.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/clientgerrit/root/config/apache2_gerrit.conf b/clientgerrit/root/config/apache2_gerrit.conf
new file mode 100755
index 0000000..e151131
--- /dev/null
+++ b/clientgerrit/root/config/apache2_gerrit.conf
@@ -0,0 +1,17 @@
+<VirtualHost *:80>
+DocumentRoot /var/www/html
+
+ErrorLog ${APACHE_LOG_DIR}/error.log
+CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+ServerName http://127.0.0.1/gerrit/
+ProxyRequests Off
+ProxyVia Off
+ProxyPreserveHost On
+AllowEncodedSlashes On
+<Proxy *>
+Order deny,allow
+Allow from all
+</Proxy>
+ ProxyPass /gerrit http://127.0.0.1:8081/gerrit nocanon
+</VirtualHost>