Skip to content

Commit 4c94fad

Browse files
committed
Merge pull request #46 from drmonty/patch-1
Correct apache2 proxy use
2 parents 9b65a2e + 83bcfe1 commit 4c94fad

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)