Browse Source

add .htaccess for TLS redirect

master
Norwin Roosen 1 year ago
parent
commit
1b75da1c08
No account linked to committer's email address
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      app/.htaccess

+ 6
- 0
app/.htaccess View File

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

Loading…
Cancel
Save