mirror of
https://github.com/gitlabhq/gitlab-recipes.git
synced 2026-01-08 22:18:02 -05:00
Fix 400 error on percent encoded URLs
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
#Don't escape encoded characters in api requests
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
|
||||
RewriteCond %{REQUEST_URI} ^/api/v3/.*
|
||||
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
|
||||
|
||||
#Forward all requests to gitlab-workhorse except existing files like error documents
|
||||
|
||||
Reference in New Issue
Block a user