Created
November 29, 2016 03:58
-
-
Save nishinoshake/59ca44ae6d7ec16d52f44502254cc282 to your computer and use it in GitHub Desktop.
.htaccessでSSLを強制
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
# Redirect If Not Secure | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment