diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-09-12 11:43:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-09-12 11:43:56 +0200 |
commit | 85fcf63dd843e928a9a3149568682aa89795a1c9 (patch) | |
tree | 650be92fd35870f084db6c75a5e79c8c0caef3eb /examples | |
parent | 32b2c941dfa863ec81912c53c622210ab7856177 (diff) |
Document registration settings
Registration can be disabled for the entire instance or blocked from certain
IPs (e.g. botnets trying to flood mailboxes with registration mails from all
online services they can find)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/travelynx.conf | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/travelynx.conf b/examples/travelynx.conf index d61c480..7f15d12 100644 --- a/examples/travelynx.conf +++ b/examples/travelynx.conf @@ -37,10 +37,9 @@ }, mail => { - # If you want to disable outgoing mail for development purposes, - # uncomment the following line. Mails will instead be logged as - # Mojolicious "info" messages, causing their content to be printed on - # stdout. + # To disable outgoing mail for development purposes, uncomment the + # following line. Mails will instead be logged as Mojolicious "info" + # messages, causing their content to be printed on stdout. ## disabled => 1, # Otherwise, specify the sender ("From" field) for mail sent by travelynx @@ -48,6 +47,17 @@ from => die("Changeme!"), }, + registration => { + # To disable registration for your instance, uncomment the following + # line. + ## disabled => 1, + + # To block registration from certain IPs, uncomment the following line + # and point it to a file containing one IPv4 or IPv6 address per line. + # Blocking IP ranges is not supported. + ## denylist => "denylist.txt", + }, + # Links to source code and issue tracker shown on the about page. # Please change them if you are using a fork. ref => { |