fix https redirect
This commit is contained in:
parent
0d9787bfcd
commit
12f6f56321
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ server {
|
|||
|
||||
}
|
||||
server {
|
||||
if ($host = cryptochat.zzls.xyz || cc.zzls.xyz) {
|
||||
if ($host ~ (cryptochat.zzls.xyz|cc.zzls.xyz)) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
|
Loading…
Reference in a new issue