aboutsummaryrefslogtreecommitdiffstats
path: root/lxmppd.cfg.dist
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-01 22:11:28 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-01 22:11:28 +0100
commitdaf001ededb273ea91bf5d6e3a41ba8cf74a9fd5 (patch)
tree6664d5fc84d8ec4cc4d55b0222c8ef1fa0e71c26 /lxmppd.cfg.dist
parenta5d524e2ddfcb8256dcf8f4213e1586858a0d263 (diff)
downloadprosody-daf001ededb273ea91bf5d6e3a41ba8cf74a9fd5.tar.gz
prosody-daf001ededb273ea91bf5d6e3a41ba8cf74a9fd5.zip
Moved hosts to a config file, still need better config though
Diffstat (limited to 'lxmppd.cfg.dist')
-rw-r--r--lxmppd.cfg.dist25
1 files changed, 25 insertions, 0 deletions
diff --git a/lxmppd.cfg.dist b/lxmppd.cfg.dist
new file mode 100644
index 00000000..b1b0d9ad
--- /dev/null
+++ b/lxmppd.cfg.dist
@@ -0,0 +1,25 @@
+
+
+sessions = {};
+hosts = {
+ ["localhost"] = {
+ type = "local";
+ connected = true;
+ sessions = {};
+ };
+ ["getjabber.ath.cx"] = {
+ type = "local";
+ connected = true;
+ sessions = {};
+ };
+ }
+
+-- If the following is not defined, no SSL will be set up on 5223
+ssl_ctx = {
+ mode = "server",
+ protocol = "sslv23",
+
+ key = "/home/matthew/ssl_cert/server.key",
+ certificate = "/home/matthew/ssl_cert/server.crt",
+ capath = "/etc/ssl/certs", verify = "none",
+ }