aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-06-10 15:33:52 +0200
committerKim Alvefur <zash@zash.se>2021-06-10 15:33:52 +0200
commitcf5c477c8f18defebe4ab13a237115740b652bed (patch)
treeb326db20a12433d10d38285efedddf92a46a8623 /core/portmanager.lua
parentb665846031c6aabde96633ce5664ca80cec851f1 (diff)
downloadprosody-cf5c477c8f18defebe4ab13a237115740b652bed.tar.gz
prosody-cf5c477c8f18defebe4ab13a237115740b652bed.zip
core.portmanager: Also reload per-SNI certificates
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 74d43e88..95d42b77 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -298,7 +298,9 @@ prosody.events.add_handler("config-reloaded", function ()
end
end
end
- -- TODO Update SNI too
+ for host in pairs(prosody.hosts) do
+ add_sni_host(host, nil);
+ end
end, -1);
return {