- -- Section for galex-713.eu
- VirtualHost "galex-713.eu"
- enabled = true -- Remove this line to enable this host
- -- Assign this host a certificate for TLS, otherwise it would use the one
- -- set in the global section (if any).
- -- Note that old-style SSL on port 5223 only supports one certificate, and will always
- -- use the global one.
- ssl = {
- key = "/etc/ssl/private/xmpp.galex-713.eu.key";
- certificate = "/etc/ssl/certs/xmpp.galex-713.eu.pem";
- }
- ------ Components ------
- -- You can specify components to add hosts that provide special services,
- -- like multi-user conferences, and transports.
- -- For more information on components, see http://prosody.im/doc/components
- -- Set up a MUC (multi-user chat) room server on conference.example.com:
- Component "chat.galex-713.eu" "muc"
- Component "bosh.galex-713.eu" "http"
- modules_enabled = { "bosh" }
- cross_domain_bosh = true
- bosh_ports = {
- {
- port = 5280;
- path = "http-bind";
- },
- {
- port = 5281;
- path = "http-bind";
- ssl = {
- key = "/etc/ssl/private/bosh.galex-713.eu.key";
- certificate = "/etc/ssl/certs/bosh.galex-713.eu.pem";
- }
- }
- }
- bosh_ports = { "http-bind" }
- consider_bosh_secure = true
- -- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
- --Component "proxy.example.com" "proxy65"
- ---Set up an external component (default component port is 5347)
- --Component "gateway.example.com"
- -- component_secret = "password"