Diff

lxmppd.cfg.dist @ 36:62998e5319e3

Moved hosts to a config file, still need better config though
author Matthew Wild <mwild1@gmail.com>
date Wed, 01 Oct 2008 22:11:28 +0100
child 205:4ca91e0551b2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lxmppd.cfg.dist	Wed Oct 01 22:11:28 2008 +0100
@@ -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",
+    		}