Changeset

6914:5df76208e050

prosodyctl: check: Don't complain about c2s_ssl or s2s_ssl being in VirtualHost sections, that's supported
author Kim Alvefur <zash@zash.se>
date Wed, 21 Oct 2015 13:37:26 +0200
parents 6913:c7a0d5299933
children 6915:9d74373d621e
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Wed Oct 21 01:56:07 2015 +0200
+++ b/prosodyctl	Wed Oct 21 13:37:26 2015 +0200
@@ -890,7 +890,7 @@
 			for name in pairs(options) do
 				if name:match("^interfaces?")
 				or name:match("_ports?$") or name:match("_interfaces?$")
-				or name:match("_ssl$") then
+				or (name:match("_ssl$") and not name:match("^[cs]2s_ssl$")) then
 					misplaced_options:add(name);
 				end
 			end