From 12f6f56321eedb10555a73175f57a5d0278c44a8 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sat, 21 Jan 2023 22:13:08 -0300 Subject: [PATCH] fix https redirect --- nginx/sites-available/cryptochat.zzls.xyz.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/sites-available/cryptochat.zzls.xyz.conf b/nginx/sites-available/cryptochat.zzls.xyz.conf index b304cda..c911bf3 100644 --- a/nginx/sites-available/cryptochat.zzls.xyz.conf +++ b/nginx/sites-available/cryptochat.zzls.xyz.conf @@ -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