Added optional htaccess rule to force https (#3345)

Credit to @BenjaVR
This commit is contained in:
Benjamin 2018-01-10 00:53:17 +01:00 committed by Luke Towers
parent ce864cc8fb
commit 6fd89d367f
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@
##
# RewriteBase /
##
## Uncomment following lines to force HTTPS.
##
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
##
## Black listed folders
##