Browse Source

add .htaccess for TLS redirect

master
Norwin 2 years ago
parent
commit
1b75da1c08
Signed by: norwin GPG Key ID: 24BC059DE24C43A3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/.htaccess

+ 6
- 0
app/.htaccess View File

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

Loading…
Cancel
Save