diff options
author | Kim Alvefur <zash@zash.se> | 2021-06-10 15:33:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-06-10 15:33:52 +0200 |
commit | cf5c477c8f18defebe4ab13a237115740b652bed (patch) | |
tree | b326db20a12433d10d38285efedddf92a46a8623 /core | |
parent | b665846031c6aabde96633ce5664ca80cec851f1 (diff) | |
download | prosody-cf5c477c8f18defebe4ab13a237115740b652bed.tar.gz prosody-cf5c477c8f18defebe4ab13a237115740b652bed.zip |
core.portmanager: Also reload per-SNI certificates
Diffstat (limited to 'core')
-rw-r--r-- | core/portmanager.lua | 4 |
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 { |