add ssl redirect config

This commit is contained in:
James 2022-05-30 20:33:51 +01:00
parent 968bf5dbe7
commit 7577603bdc
1 changed files with 3 additions and 0 deletions

3
includes/force-ssl.conf Normal file
View File

@ -0,0 +1,3 @@
if ($scheme = "http") {
return 301 https://$host$request_uri;
}