From 85fcf63dd843e928a9a3149568682aa89795a1c9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Sep 2021 11:43:56 +0200 Subject: 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) --- examples/travelynx.conf | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'examples') 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 => { -- cgit v1.2.3