Prosody: new settings to provide a custom certificates dir

This commit is contained in:
John Livingston
2023-04-13 18:22:03 +02:00
committed by John Livingston
parent a87a622cba
commit 801798852c
12 changed files with 205 additions and 71 deletions

View File

@ -173,7 +173,9 @@ class ProsodyConfigContent {
this.global.set('consider_bosh_secure', false)
// this.global.set('cross_domain_websocket', false) No more needed with Prosody 0.12
this.global.set('consider_websocket_secure', false)
this.global.set('certificates', this.paths.certs)
if (this.paths.certs) {
this.global.set('certificates', this.paths.certs)
}
this.muc.set('muc_room_locking', false)
this.muc.set('muc_tombstones', false)

View File

@ -5,7 +5,8 @@ interface ProsodyFilePaths {
log: string
config: string
data: string
certs: string
certs?: string
certsDirIsCustom: boolean
modules: string
avatars: string
exec?: string