2020年9月27日 星期日

.htaccess force https exclude well-known

     # Https

    RewriteCond %{HTTPS} off 

    RewriteCond %{REQUEST_URI} !\.well-known/

    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]