Skip to content

Instantly share code, notes, and snippets.

@fpaupier
Created September 9, 2018 09:39
Show Gist options
  • Save fpaupier/448a43e867795450701c8769f5f8a551 to your computer and use it in GitHub Desktop.
Save fpaupier/448a43e867795450701c8769f5f8a551 to your computer and use it in GitHub Desktop.
Configure a reverse proxy, rewriting rules
<VirtualHost *:80>
 
<some code>
RewriteEngine on
RewriteCond %{SERVER_NAME} =raplyrics.eu [OR]
RewriteCond %{SERVER_NAME} =www.raplyrics.eu
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment