1. -- Section for galex-713.eu
  2. VirtualHost "galex-713.eu"
  3. enabled = true -- Remove this line to enable this host
  4. -- Assign this host a certificate for TLS, otherwise it would use the one
  5. -- set in the global section (if any).
  6. -- Note that old-style SSL on port 5223 only supports one certificate, and will always
  7. -- use the global one.
  8. ssl = {
  9. key = "/etc/ssl/private/xmpp.galex-713.eu.key";
  10. certificate = "/etc/ssl/certs/xmpp.galex-713.eu.pem";
  11. }
  12. ------ Components ------
  13. -- You can specify components to add hosts that provide special services,
  14. -- like multi-user conferences, and transports.
  15. -- For more information on components, see http://prosody.im/doc/components
  16. -- Set up a MUC (multi-user chat) room server on conference.example.com:
  17. Component "chat.galex-713.eu" "muc"
  18. Component "bosh.galex-713.eu" "http"
  19. modules_enabled = { "bosh" }
  20. cross_domain_bosh = true
  21. bosh_ports = {
  22. {
  23. port = 5280;
  24. path = "http-bind";
  25. },
  26. {
  27. port = 5281;
  28. path = "http-bind";
  29. ssl = {
  30. key = "/etc/ssl/private/bosh.galex-713.eu.key";
  31. certificate = "/etc/ssl/certs/bosh.galex-713.eu.pem";
  32. }
  33. }
  34. }
  35. bosh_ports = { "http-bind" }
  36. consider_bosh_secure = true
  37. -- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
  38. --Component "proxy.example.com" "proxy65"
  39. ---Set up an external component (default component port is 5347)
  40. --Component "gateway.example.com"
  41. -- component_secret = "password"