From f74482c4002a9bd714cb81cf27b6299248f630ab Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Sun, 16 Nov 2025 13:59:49 -0500 Subject: [PATCH] Re-added a line specifying a default root for default server and moved MaxInstances line into here due to it being more appropriate context --- roles/bootstrap/templates/proftpd/proftpd.conf.j2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/bootstrap/templates/proftpd/proftpd.conf.j2 b/roles/bootstrap/templates/proftpd/proftpd.conf.j2 index 5e76991..3a65830 100644 --- a/roles/bootstrap/templates/proftpd/proftpd.conf.j2 +++ b/roles/bootstrap/templates/proftpd/proftpd.conf.j2 @@ -11,7 +11,7 @@ Include /etc/proftpd/modules.conf UseIPv6 on # If set on you can experience a longer connection delay in many cases. - IdentLookups off + IdentLookups on ServerName "{{ ftp_server_name }}" @@ -19,16 +19,15 @@ ServerName "{{ ftp_server_name }}" # Read README.Debian for more information on proper configuration. ServerType standalone DeferWelcome off +MaxInstances {{ max_conns }} # Disable MultilineRFC2228 per https://github.com/proftpd/proftpd/issues/1085 # MultilineRFC2228on DefaultServer on +DefaultRoot ~ DenyFilter \*.*/ -# Use this to jail all users in their homes -DefaultRoot ~ - # Users require a valid shell listed in /etc/shells to login. # Use this directive to release that constrain. # RequireValidShell off