1 Options +FollowSymLinks -MultiViews
5 RewriteCond %{HTTPS} !=on
6 RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
7 Header always set Content-Security-Policy "upgrade-insecure-requests;"
9 RewriteCond %{REQUEST_FILENAME} !-f
10 RewriteCond %{REQUEST_FILENAME} !-d
11 RewriteCond %{REQUEST_FILENAME}\.html -f
12 RewriteRule ^(.*)$ $1.html [L]
14 RewriteCond %{THE_REQUEST} ^(?:GET|POST)\ /.*\.html\ HTTP.*$ [NC]
15 RewriteRule ^(.*)\.html$ $1 [R=301,L]