Changeset

8159:3850993a9bda

certmanager: Update the 'certificates' option after the config has been reloaded (fixes #929)
author Kim Alvefur <zash@zash.se>
date Thu, 01 Jun 2017 14:03:50 +0200
parents 8156:745e0a783055
children 8161:31938a0c398f
files core/certmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Sat May 27 17:19:15 2017 +0200
+++ b/core/certmanager.lua	Thu Jun 01 14:03:50 2017 +0200
@@ -216,6 +216,7 @@
 
 local function reload_ssl_config()
 	global_ssl_config = configmanager.get("*", "ssl");
+	global_certificates = configmanager.get("*", "certificates") or "certs";
 	if luasec_has.no_compression then
 		core_defaults.options.no_compression = configmanager.get("*", "ssl_compression") ~= true;
 	end