diff --git a/class/core/site_api.py b/class/core/site_api.py index 45ee3111b..43de66d87 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -2825,7 +2825,7 @@ location ^~ {from} {\n\ if not mw.inArray(tmp, '443'): listen = re.search(rep, conf).group() - if version == '1.25.3.1': + if version.startswith('1.25'): http_ssl = "\n\tlisten 443 ssl;" http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;" http_ssl = http_ssl + "\n\tlisten 443 quic;"