prosody.cfg.lua.dist: Move enabled line higher up (people including myself often miss it)

Fri, 10 Jul 2009 16:39:50 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 10 Jul 2009 16:39:50 +0100
changeset 1526
5f11a8d07161
parent 1525
f30886f684eb
child 1527
47729fa90a6c

prosody.cfg.lua.dist: Move enabled line higher up (people including myself often miss it)

prosody.cfg.lua.dist file | annotate | diff | comparison | revisions
--- a/prosody.cfg.lua.dist	Fri Jul 10 16:38:35 2009 +0100
+++ b/prosody.cfg.lua.dist	Fri Jul 10 16:39:50 2009 +0100
@@ -88,6 +88,9 @@
 -- Section for example.com
 -- (replace example.com with your domain name)
 Host "example.com"
+
+	enabled = false -- This will disable the host, preserving the config, but denying connections
+
 	-- Assign this host a certificate for TLS, otherwise it would use the one
 	-- set in the global section (if any).
 	-- Note that old-style SSL on port 5223 only supports one certificate, and will always
@@ -97,7 +100,5 @@
 		certificate = "certs/example.com.crt";
 		}
 
-	enabled = false -- This will disable the host, preserving the config, but denying connections
-
 -- Set up a MUC (multi-user chat) room server on conference.example.com:
 Component "conference.example.com" "muc"

mercurial