From 91fba4b35aa021776825e8f8f46c323c371b92d4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:04:57 +0100 Subject: [PATCH] Update conf/nginx/sni_forward.conf: replace '.' with underscore in domain to prevent possible conflicts in specific cases --- conf/nginx/sni_forward.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx/sni_forward.conf b/conf/nginx/sni_forward.conf index 266863e50..a21786e79 100644 --- a/conf/nginx/sni_forward.conf +++ b/conf/nginx/sni_forward.conf @@ -3,7 +3,7 @@ stream { map $ssl_preread_server_name $name { {% for domain_ip in domain_ip_map %} - {{ domain_ip.split(":")[0] }} {{ domain_ip.split(":")[0].replace('.', '') }}; + {{ domain_ip.split(":")[0] }} {{ domain_ip.split(":")[0].replace('.', '_') }}; {% endfor %} default https_default_backend; }