Appearance
ドメインに指定される「https」へのリダイレクトを設定します。
下記内容を「.htaccess」内に記述してサーバの公開領域に設置する。
.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] </IfModule>
DANGER
Webサーバ「Apache」で動作可能です。「nginx」では利用できません。