diff options
-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 => { |