core.portmanager: Also reload per-SNI certificates

pull/26/head
Kim Alvefur 5 years ago
parent b665846031
commit cf5c477c8f
  1. 4
      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 {

Loading…
Cancel
Save