Re-added a line specifying a default root for default server and moved MaxInstances line into here due to it being more appropriate context
This commit is contained in:
@@ -11,7 +11,7 @@ Include /etc/proftpd/modules.conf
|
||||
UseIPv6 on
|
||||
# If set on you can experience a longer connection delay in many cases.
|
||||
<IfModule mod_ident.c>
|
||||
IdentLookups off
|
||||
IdentLookups on
|
||||
</IfModule>
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user