New setting to listen C2S connection on non-localhost interfaces (#377).
This commit is contained in:
@ -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'),
|
||||
|
Reference in New Issue
Block a user