diff --git a/roles/bootstrap/templates/proftpd/conf.d/global.conf.j2 b/roles/bootstrap/templates/proftpd/conf.d/global.conf.j2 index 0357e94..b472fa3 100644 --- a/roles/bootstrap/templates/proftpd/conf.d/global.conf.j2 +++ b/roles/bootstrap/templates/proftpd/conf.d/global.conf.j2 @@ -1,22 +1,31 @@ - PassivePorts {{ pasv_ports }} + # PassivePorts {{ pasv_ports }} RequireValidShell off - MaxInstances {{ max_conns }} {% if allow_symlinks %} ShowSymlinks on {% else %} ShowSymlinks off {% endif %} + AllowRetrieveRestart on + HiddenStores .%P- .frag - DisplayLogin WELCOME.msg + DisplayLogin /etc/proftpd/WELCOME.txt DisplayChdir .README.md true - DisplayConnect BANNER.msg - DisplayFileTransfer SUCCESS.msg + DisplayConnect /etc/proftpd/BANNER.txt + DisplayFileTransfer /etc/proftpd/SUCCESS.txt + DisplayReadme /etc/proftpd/ANNOUNCE.md + DisplayQuit /etc/proftpd/BYE.txt TimeoutNoTransfer 3600 TimeoutStalled 210 TimeoutIdle 1400 - Umask 022 022 + Umask 0022 0022 AllowOverwrite on + + + + DenyAll + + \ No newline at end of file