Sharp.Augeas/Sharp.Augeas.Test/root/etc/apache2/sites-available/00-ci.codeliturgy.com.conf

27 lines
872 B
Plaintext

<VirtualHost 91.218.230.167:80>
ServerName www.ci.codeliturgy.com
ServerAlias ci.codeliturgy.com
#SSLEngine on
#SSLProxyEngine on
#SSLProxyVerify none
#SSLProxyCheckPeerCN off
#SSLProxyCheckPeerName off
#SSLProxyCheckPeerExpire off
ServerAdmin admin@codeliturgy.com
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / https://127.0.0.1:8080/ nocanon
ProxyPassReverse / https://127.0.0.1:8080/
#RequestHeader set X-Forwarded-Proto "https"
#RequestHeader set X-Forwarded-Port "443"
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.ci.codeliturgy.com [OR]
RewriteCond %{SERVER_NAME} =ci.codeliturgy.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>