prosody.cfg.lua.dist: Move enabled line higher up (people including myself often...
authorMatthew Wild <mwild1@gmail.com>
Fri, 10 Jul 2009 15:39:50 +0000 (16:39 +0100)
committerMatthew Wild <mwild1@gmail.com>
Fri, 10 Jul 2009 15:39:50 +0000 (16:39 +0100)
prosody.cfg.lua.dist

index 51ea3b3db4bfc4ec517d33c0fca44fac8b21585f..79e32a2506eaadba121bf8edcc661678506087b7 100644 (file)
@@ -88,6 +88,9 @@ Host "localhost"
 -- Section for example.com\r
 -- (replace example.com with your domain name)\r
 Host "example.com"\r
+\r
+       enabled = false -- This will disable the host, preserving the config, but denying connections\r
+\r
        -- Assign this host a certificate for TLS, otherwise it would use the one\r
        -- set in the global section (if any).\r
        -- Note that old-style SSL on port 5223 only supports one certificate, and will always\r
@@ -97,7 +100,5 @@ Host "example.com"
                certificate = "certs/example.com.crt";\r
                }\r
 \r
-       enabled = false -- This will disable the host, preserving the config, but denying connections\r
-\r
 -- Set up a MUC (multi-user chat) room server on conference.example.com:\r
 Component "conference.example.com" "muc"\r