mirror of
https://github.com/gitlabhq/gitlab-recipes.git
synced 2026-01-10 23:18:13 -05:00
Merge branch 'master' of github.com:gitlabhq/gitlab-recipes
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
RewriteCond %{REQUEST_URI} [-\/\w\.]+\.git\/
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA]
|
||||
|
||||
#Forward any other requests to GitLab Rails app (Unicorn)
|
||||
#Forward any other requests to GitLab Rails app (Unicorn)
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/uploads
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
# needed for downloading attachments
|
||||
DocumentRoot /home/git/gitlab/public
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
RewriteCond %{REQUEST_URI} [-\/\w\.]+\.git\/
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA]
|
||||
|
||||
#Forward any other requests to GitLab Rails app (Unicorn)
|
||||
#Forward any other requests to GitLab Rails app (Unicorn)
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/uploads
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
RequestHeader set X_FORWARDED_PROTO 'https'
|
||||
RequestHeader set X-Forwarded-Ssl on
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
# http://stackoverflow.com/questions/10954516/apache2-proxypass-for-rails-app-gitlab
|
||||
RewriteEngine on
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
# needed for downloading attachments
|
||||
DocumentRoot /home/git/gitlab/public
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
# http://stackoverflow.com/questions/10954516/apache2-proxypass-for-rails-app-gitlab
|
||||
RewriteEngine on
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
RequestHeader set X_FORWARDED_PROTO 'https'
|
||||
RequestHeader set X-Forwarded-Ssl on
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
# http://stackoverflow.com/questions/10954516/apache2-proxypass-for-rails-app-gitlab
|
||||
RewriteEngine on
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
RequestHeader set X_FORWARDED_PROTO 'https'
|
||||
RequestHeader set X-Forwarded-Ssl on
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# http://stackoverflow.com/questions/10954516/apache2-proxypass-for-rails-app-gitlab
|
||||
RewriteEngine on
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
|
||||
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
# needed for downloading attachments
|
||||
DocumentRoot /home/git/gitlab/public
|
||||
|
||||
Reference in New Issue
Block a user