Skip to content

Commit

Permalink
added /error to ProxyPass and setted DocumentRoot
Browse files Browse the repository at this point in the history
to documented public-directory of gitlab.
  • Loading branch information
mrohnstock committed Mar 6, 2013
1 parent 00ab3de commit c6c22b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apache/gitlab
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R]

ProxyPass /uploads !
ProxyPass /error !
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
ProxyPreserveHost On
Expand All @@ -17,7 +18,7 @@
ErrorLog /var/log/apache2/gitlab/error.log

# Modify path to your need (needed for downloading attachments)
DocumentRoot /var/www/gitlab/public
DocumentRoot /home/git/gitlab/public

<Location />
Order allow,deny
Expand All @@ -34,6 +35,7 @@
#SSLCertificateChainFile /etc/apache2/ssl/cacert.pem

ProxyPass /uploads !
ProxyPass /error !
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
ProxyPreserveHost On
Expand All @@ -42,7 +44,7 @@
ErrorLog /var/log/apache2/gitlab/error.log

# Modify path to your need (needed for downloading attachments)
DocumentRoot /var/www/gitlab/public
DocumentRoot /home/git/gitlab/public

<Location />
Order allow,deny
Expand Down

0 comments on commit c6c22b4

Please sign in to comment.