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