update config
This commit is contained in:
parent
b75b3e8871
commit
37ed8e55cb
@ -1,3 +1,5 @@
|
|||||||
|
Include /etc/proftpd/modules.d/*.conf
|
||||||
|
|
||||||
ServerName "{{getenv "SERVER_NAME"}}"
|
ServerName "{{getenv "SERVER_NAME"}}"
|
||||||
ServerType standalone
|
ServerType standalone
|
||||||
DefaultServer on
|
DefaultServer on
|
||||||
@ -13,17 +15,11 @@ AllowOverwrite on
|
|||||||
RequireValidShell off
|
RequireValidShell off
|
||||||
WtmpLog off
|
WtmpLog off
|
||||||
|
|
||||||
|
|
||||||
<Limit SITE_CHMOD>
|
<Limit SITE_CHMOD>
|
||||||
DenyAll
|
DenyAll
|
||||||
</Limit>
|
</Limit>
|
||||||
|
|
||||||
LoadModule mod_site_misc.c
|
|
||||||
LoadModule mod_ldap.c
|
|
||||||
LoadModule mod_sftp.c
|
|
||||||
|
|
||||||
{{if (getenv "STATIC_USER")}}
|
{{if (getenv "STATIC_USER")}}
|
||||||
LoadModule mod_auth_file.c
|
|
||||||
AuthUserFile /etc/proftpd/passwd
|
AuthUserFile /etc/proftpd/passwd
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user