Mine
public text v1 · immutableRewriteEngine on
#All traffic goes to https
##added to avoid mobile problem, the goal being to not force mobile https
#RewriteCond ${REQUEST_URI} !^/(mobile)
RewriteCond %{SERVER_PORT} !443$
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]