Browse files

Correct apache2 proxy use

Missing `ProxyPreserveHost On` caused not working proxy on Debian Squeeze.
Fixes issue #45.
  • Loading branch information...
1 parent 9b65a2e commit 83bcfe167f144ce50f3c3999cb035fe2c48d37b2 @mrohnstock mrohnstock committed Jan 22, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 apache/gitlab
View
2 apache/gitlab
@@ -10,6 +10,7 @@
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
+ ProxyPreserveHost On
CustomLog /var/log/apache2/gitlab/access.log combined
ErrorLog /var/log/apache2/gitlab/error.log
@@ -25,6 +26,7 @@
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
+ ProxyPreserveHost On
CustomLog /var/log/apache2/gitlab/access.log combined
ErrorLog /var/log/apache2/gitlab/error.log

0 comments on commit 83bcfe1

Please sign in to comment.