mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-04 05:00:39 +00:00
Change global ssl section to http_upload and legacy_ssl sections. It is only needed there.
This commit is contained in:
parent
d49e03b5c9
commit
522e26c5ac
3 changed files with 17 additions and 13 deletions
|
@ -4,17 +4,21 @@ local domain_muc = os.getenv("DOMAIN_MUC")
|
|||
local domain_proxy = os.getenv("DOMAIN_PROXY")
|
||||
local domain_pubsub = os.getenv("DOMAIN_PUBSUB")
|
||||
|
||||
-- This is a fallback just for http_upload because service certificates are searched differently
|
||||
-- https://prosody.im/doc/certificates#service_certificates
|
||||
ssl = {
|
||||
-- XEP-0368: SRV records for XMPP over TLS
|
||||
-- https://compliance.conversations.im/test/xep0368/
|
||||
legacy_ssl_ssl = {
|
||||
certificate = "certs/" .. domain .. "/fullchain.pem";
|
||||
key = "certs/" .. domain .. "/privkey.pem";
|
||||
}
|
||||
|
||||
-- XEP-0368: SRV records for XMPP over TLS
|
||||
-- https://compliance.conversations.im/test/xep0368/
|
||||
legacy_ssl_ports = { 5223 }
|
||||
|
||||
-- https://prosody.im/doc/certificates#service_certificates
|
||||
-- https://prosody.im/doc/ports#ssl_configuration
|
||||
https_ssl = {
|
||||
certificate = "certs/" .. domain_http_upload .. "/fullchain.pem";
|
||||
key = "certs/" .. domain_http_upload .. "/privkey.pem";
|
||||
}
|
||||
|
||||
VirtualHost (domain)
|
||||
|
||||
-- Set up a http file upload because proxy65 is not working in muc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue