File

spec/tls/config3/prosody.cfg.lua @ 13874:bfa8ac5881a0 default tip

mod_http_files: Fail if missing the required 'http_files_dir' setting
author Kim Alvefur <zash@zash.se>
date Tue, 13 May 2025 22:38:34 +0200
parent 13816:4122978f2575
line wrap: on
line source

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"