.htaccess http -> https 리다이렉트

VNote 2022.12.28 14:27:46

.htaccess http -> https 리다이렉트

 

 

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>