Skip to content
Snippets Groups Projects
Commit d0b6af8f authored by Jose Torres's avatar Jose Torres
Browse files

Substitute rewrite with proxypass.

parent ac60002b
No related branches found
No related tags found
1 merge request!62[WIP] Substitute rewrite with proxypass.
Loading
Loading
@@ -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>
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment