Changeset

11598:081e550b973a

core.portmanager: Also reload per-SNI certificates
author Kim Alvefur <zash@zash.se>
date Thu, 10 Jun 2021 15:33:52 +0200 (2021-06-10)
parents 11597:7e1ca18fdfb3
children 11599:ed405b6357a8
files core/portmanager.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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 {