28 lines
648 B
Cheetah
28 lines
648 B
Cheetah
|
ServerName "{{getenv "SERVER_NAME"}}"
|
||
|
ServerType standalone
|
||
|
DefaultServer on
|
||
|
Port 2121
|
||
|
UseIPv6 off
|
||
|
Umask 022
|
||
|
MaxInstances 30
|
||
|
User proftp
|
||
|
Group proftp
|
||
|
DefaultRoot /var/lib/proftp/data
|
||
|
AllowOverwrite on
|
||
|
|
||
|
<Limit SITE_CHMOD>
|
||
|
DenyAll
|
||
|
</Limit>
|
||
|
|
||
|
<IfModule mod_ldap.c>
|
||
|
LDAPServer {{getenv "LDAP_URI"}}
|
||
|
LDAPUseTLS {{getenv "LDAP_USE_TLS"}}
|
||
|
LDAPAuthBinds {{getenv "LDAP_USE_AUTH_BIND"}}
|
||
|
LDAPBindDN "{{getenv "LDAP_BIND_DN"}}" {{getenv "LDAP_BIND_PASSWORD"}}
|
||
|
|
||
|
LDAPUsers {{getenv "LDAP_BASE"}} "{{getenv "LDAP_FILTER"}}"
|
||
|
LDAPSearchScope subtree
|
||
|
LDAPDefaultUID 2222
|
||
|
LDAPDefaultGID 2222
|
||
|
LDAPGenerateHomedir off
|
||
|
</IfModule>
|