Skip to content
Snippets Groups Projects
Commit 0abe6c5e authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve GitLab vhost config

parent f14533cf
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,10 @@
ProxyPreserveHost On
<Proxy *>
Require all granted
</Proxy>
# Ensure that encoded slashes are not decoded but left in their encoded state.
# http://doc.gitlab.com/ce/api/projects.html#get-single-project
AllowEncodedSlashes NoDecode
......@@ -56,6 +60,8 @@
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA]
RequestHeader set X_FORWARDED_PROTO 'https'
RequestHeader set X-FORWARDED-PROTO 'https'
RequestHeader set X_FORWARDED_SSL on
RequestHeader set X-Forwarded-Ssl on
# needed for downloading attachments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment