aboutsummaryrefslogtreecommitdiff
path: root/roles/ftp/templates/pure-ftpd.conf.j2
blob: 9faccf5e582e517539b2aa7fb603077e7681d861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Managed by Ansible. Do NOT change.

ChrootEveryone               yes
BrokenClientsCompatibility   no
MaxClientsNumber             50
Daemonize                    no
MaxClientsPerIP              8
VerboseLog                   yes
DisplayDotFiles              yes
AnonymousOnly                no
NoAnonymous                  yes
#SyslogFacility               ftp
DontResolve                  yes
MaxIdleTime                  15

{% if ftp.ldap.enable %}
LDAPConfigFile               /etc/pure-ftpd/db/ldap.conf
{% endif %}

{% if ftp.enable_pam %}
PAMAuthentication           yes
{% endif %}

{% if ftp.tls.enable %}
TLS                          2
TLSCipherSuite               HIGH
CertFileAndKey               "{{ ftp.tls.cert }}" "{{ ftp.tls.key }}"
{% endif %}

LimitRecursion               10000 8
AnonymousCanCreateDirs       no
MaxLoad                      4
AntiWarez                    yes

# File creation mask. <umask for files>:<umask for dirs> .
# 177:077 if you feel paranoid.
Umask                        177:077

MinUID                       100
AllowUserFXP                 no
AllowAnonymousFXP            no
ProhibitDotFilesWrite        no
ProhibitDotFilesRead         no
AutoRename                   no
AnonymousCantUpload          yes
CreateHomeDir                yes
MaxDiskUsage                 99
CustomerProof                yes