New setting to listen C2S connection on non-localhost interfaces (#377).

This commit is contained in:
John Livingston
2024-05-27 16:32:40 +02:00
parent 345ec0ba56
commit 5a14e3f755
7 changed files with 50 additions and 2 deletions

View File

@ -632,6 +632,15 @@ function initChatServerAdvancedSettings ({ registerSetting }: RegisterServerOpti
descriptionHTML: loc('prosody_c2s_port_description')
})
registerSetting({
name: 'prosody-c2s-interfaces',
label: loc('prosody_c2s_interfaces_label'),
type: 'input',
default: '127.0.0.1, ::1',
private: true,
descriptionHTML: loc('prosody_c2s_interfaces_description')
})
registerSetting({
name: 'prosody-components',
label: loc('prosody_components_label'),