aboutsummaryrefslogtreecommitdiffstats
path: root/spec/tls/config3/prosody.cfg.lua
blob: a92dbfa811bbed2f86edf83d4ec69421941b4e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Include "prosody-default.cfg.lua"

c2s_direct_tls_ports = { 5223 }

VirtualHost "example.com"
	enabled = true
	modules_enabled = { "http" }
	http_host = "xmpp.example.com"

VirtualHost "example.net"
	ssl = {
		certificate = "certs/example.com.crt";
		key = "certs/example.com.key";
	}

	https_ssl = {
		certificate = "certs/example.com.crt";
		key = "certs/example.com.key";
	}

	c2s_direct_tls_ssl = {
		certificate = "certs/example.com.crt";
		key = "certs/example.com.key";
	}

VirtualHost "example.org"
Component "share.example.org" "http_file_share"
Component "groups.example.org" "muc"