add .htaccess for TLS redirect

This commit is contained in:
Norwin 2018-06-22 19:32:52 +02:00
parent 87403ddc8e
commit 1b75da1c08
Signed by: norwin
GPG key ID: 24BC059DE24C43A3

6
app/.htaccess Normal file
View file

@ -0,0 +1,6 @@
RewriteEngine On
# enforce HTTPs
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R,L]