Skip to content

Instantly share code, notes, and snippets.

@Domm98CZ

Domm98CZ/.htaccess

Created Mar 21, 2021
Embed
What would you like to do?
wedos domain htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{SERVER_NAME} [L,R=301]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment