Apache2 https rewrite
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.web-example.eu [OR]
RewriteCond %{SERVER_NAME} =web-example.eu
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.web-example.eu [OR]
RewriteCond %{SERVER_NAME} =web-example.eu
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]