Skip to content
Snippets Groups Projects

[WIP] Substitute rewrite with proxypass.

1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
@@ -19,9 +19,7 @@
ServerName YOUR_SERVER_FQDN
ServerSignature Off
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
Redirect permanent "/" https://%{SERVER_NAME}
</VirtualHost>
<VirtualHost *:443>
@@ -39,8 +37,14 @@
ServerName YOUR_SERVER_FQDN
ServerSignature Off
ProxyRequests Off
SSLProxyEngine On
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://127.0.0.1:8181/ keepalive=On connectiontimeout=10 retry=0
ProxyPassReverse / http://127.0.0.1:8181/
# Ensure that encoded slashes are not decoded but left in their encoded state.
# http://doc.gitlab.com/ce/api/projects.html#get-single-project
Loading