File

lxmppd.cfg.dist @ 372:e7c1e30d06d5

Now possible to specify nil origin to core_route_stanza. Origin will be chosen as the host of the 'from' attribute on the stanza. Returns false on no such host.
author Matthew Wild <mwild1@gmail.com>
date Fri, 21 Nov 2008 05:59:03 +0000
parent 235:6526df1a7277
line wrap: on
line source


---- lxmppd configuration file ----

config = {
	hosts = { -- local hosts
		"localhost";
		--"snikket.com";
	};
	-- If the following is commented, 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";
	};]]
	modules = { -- enabled modules
		"saslauth";
		"legacyauth";
		"roster";
		"register";
		"tls";
		"vcard";
		"private";
		"version";
		"dialback";
		"uptime";
	};
}