Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 1526:5f11a8d07161
prosody.cfg.lua.dist: Move enabled line higher up (people including myself often miss it)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Jul 2009 16:39:50 +0100 |
parent | 1525:f30886f684eb |
child | 1527:47729fa90a6c |
comparison
equal
deleted
inserted
replaced
1525:f30886f684eb | 1526:5f11a8d07161 |
---|---|
86 Host "localhost" | 86 Host "localhost" |
87 | 87 |
88 -- Section for example.com | 88 -- Section for example.com |
89 -- (replace example.com with your domain name) | 89 -- (replace example.com with your domain name) |
90 Host "example.com" | 90 Host "example.com" |
91 | |
92 enabled = false -- This will disable the host, preserving the config, but denying connections | |
93 | |
91 -- Assign this host a certificate for TLS, otherwise it would use the one | 94 -- Assign this host a certificate for TLS, otherwise it would use the one |
92 -- set in the global section (if any). | 95 -- set in the global section (if any). |
93 -- Note that old-style SSL on port 5223 only supports one certificate, and will always | 96 -- Note that old-style SSL on port 5223 only supports one certificate, and will always |
94 -- use the global one. | 97 -- use the global one. |
95 ssl = { | 98 ssl = { |
96 key = "certs/example.com.key"; | 99 key = "certs/example.com.key"; |
97 certificate = "certs/example.com.crt"; | 100 certificate = "certs/example.com.crt"; |
98 } | 101 } |
99 | 102 |
100 enabled = false -- This will disable the host, preserving the config, but denying connections | |
101 | |
102 -- Set up a MUC (multi-user chat) room server on conference.example.com: | 103 -- Set up a MUC (multi-user chat) room server on conference.example.com: |
103 Component "conference.example.com" "muc" | 104 Component "conference.example.com" "muc" |