Stefano’s notebook

my technical writings

URL rewriting verso https

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^/(.*)$ https://domain.com/$1 [R=301,L]