Created
May 27, 2020 08:14
-
-
Save moradi-morteza/f608ebe4d53985d2a80fd5c64f67af0d to your computer and use it in GitHub Desktop.
[ssl service]
This file contains 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
// in htaccess file add this file | |
# Force SSL | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment