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
|
UseIPv6 on
|
||||||
# If set on you can experience a longer connection delay in many cases.
|
# If set on you can experience a longer connection delay in many cases.
|
||||||
<IfModule mod_ident.c>
|
<IfModule mod_ident.c>
|
||||||
IdentLookups off
|
IdentLookups on
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
ServerName "{{ ftp_server_name }}"
|
ServerName "{{ ftp_server_name }}"
|
||||||
@@ -19,16 +19,15 @@ ServerName "{{ ftp_server_name }}"
|
|||||||
# Read README.Debian for more information on proper configuration.
|
# Read README.Debian for more information on proper configuration.
|
||||||
ServerType standalone
|
ServerType standalone
|
||||||
DeferWelcome off
|
DeferWelcome off
|
||||||
|
MaxInstances {{ max_conns }}
|
||||||
|
|
||||||
# Disable MultilineRFC2228 per https://github.com/proftpd/proftpd/issues/1085
|
# Disable MultilineRFC2228 per https://github.com/proftpd/proftpd/issues/1085
|
||||||
# MultilineRFC2228on
|
# MultilineRFC2228on
|
||||||
DefaultServer on
|
DefaultServer on
|
||||||
|
DefaultRoot ~
|
||||||
|
|
||||||
DenyFilter \*.*/
|
DenyFilter \*.*/
|
||||||
|
|
||||||
# Use this to jail all users in their homes
|
|
||||||
DefaultRoot ~
|
|
||||||
|
|
||||||
# Users require a valid shell listed in /etc/shells to login.
|
# Users require a valid shell listed in /etc/shells to login.
|
||||||
# Use this directive to release that constrain.
|
# Use this directive to release that constrain.
|
||||||
# RequireValidShell off
|
# RequireValidShell off
|
||||||
|
|||||||
Reference in New Issue
Block a user