Diff

core/portmanager.lua @ 11598:081e550b973a

core.portmanager: Also reload per-SNI certificates
author Kim Alvefur <zash@zash.se>
date Thu, 10 Jun 2021 15:33:52 +0200
parent 11597:7e1ca18fdfb3
child 12312:8119a58b3a5c
line wrap: on
line diff
--- a/core/portmanager.lua	Thu Jun 10 15:30:54 2021 +0200
+++ b/core/portmanager.lua	Thu Jun 10 15:33:52 2021 +0200
@@ -298,7 +298,9 @@
 			end
 		end
 	end
-	-- TODO Update SNI too
+	for host in pairs(prosody.hosts) do
+		add_sni_host(host, nil);
+	end
 end, -1);
 
 return {