Skip to content

Commit 83bcfe1

Browse files
committed
Correct apache2 proxy use
Missing `ProxyPreserveHost On` caused not working proxy on Debian Squeeze. Fixes issue #45.
1 parent 9b65a2e commit 83bcfe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apache/gitlab

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
ProxyPass / http://127.0.0.1:3000/
1212
ProxyPassReverse / http://127.0.0.1:3000/
13+
ProxyPreserveHost On
1314

1415
CustomLog /var/log/apache2/gitlab/access.log combined
1516
ErrorLog /var/log/apache2/gitlab/error.log
@@ -25,6 +26,7 @@
2526

2627
ProxyPass / http://127.0.0.1:3000/
2728
ProxyPassReverse / http://127.0.0.1:3000/
29+
ProxyPreserveHost On
2830

2931
CustomLog /var/log/apache2/gitlab/access.log combined
3032
ErrorLog /var/log/apache2/gitlab/error.log

0 commit comments

Comments
 (0)