aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-04-02 16:14:24 +0100
committerMatthew Wild <mwild1@gmail.com>2025-04-02 16:14:24 +0100
commit521b13beb531a8cfcf85b6000e210847a9459f17 (patch)
treee3dfd5b0879be112713d2e2bb039bd16a15ad799
parent9877db0ede2eba822569f0795151b9c51471325e (diff)
parentc384aeca79c69e88055b135a3a926d6107eb946d (diff)
downloadprosody-521b13beb531a8cfcf85b6000e210847a9459f17.tar.gz
prosody-521b13beb531a8cfcf85b6000e210847a9459f17.zip
Merge 13.0->trunk
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 88bd7b61..e1dde176 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -258,7 +258,7 @@ local function add_sni_host(host, service)
log("error", "Error creating TLS context for SNI host %s: %s", host, err);
else
local ok, err = active_service.server:sslctx():set_sni_host(
- host,
+ alternate_host or host,
cfg.certificate,
cfg.key
);