Improve explanation of s2s_access option. Add link to access_rules option

This commit is contained in:
Badlop 2022-02-02 18:24:36 +01:00
parent c92478f7c2
commit 25e0326f87
1 changed files with 7 additions and 4 deletions

View File

@ -220,7 +220,9 @@ doc() ->
{access_rules, {access_rules,
#{value => "{AccessName: {allow|deny: ACLRules|ACLName}}", #{value => "{AccessName: {allow|deny: ACLRules|ACLName}}",
desc => desc =>
?T("The option specifies access rules. Each access rule is " ?T("This option defines "
"http://../basic/#access-rules[Access Rules]. "
"Each access rule is "
"assigned a name that can be referenced from other parts " "assigned a name that can be referenced from other parts "
"of the configuration file (mostly from 'access' options of " "of the configuration file (mostly from 'access' options of "
"ejabberd modules). Each rule definition may contain " "ejabberd modules). Each rule definition may contain "
@ -1083,9 +1085,10 @@ doc() ->
{s2s_access, {s2s_access,
#{value => ?T("Access"), #{value => ?T("Access"),
desc => desc =>
?T("The access rule to restrict server-to-server connections. " ?T("This http://../basic/#access-rules[Access Rule] defines to "
"The default value is 'all' which means no restrictions " "what remote servers can s2s connections be established. "
"are applied.")}}, "The default value is 'all'; no restrictions are applied, it is"
" allowed to connect s2s to/from all remote servers.")}},
{s2s_cafile, {s2s_cafile,
#{value => ?T("Path"), #{value => ?T("Path"),
desc => desc =>