Added templates to have their variables set through bootstrap role's vars' options directory files
This commit is contained in:
31
roles/bootstrap/templates/proftpd/vhost.conf.j2
Normal file
31
roles/bootstrap/templates/proftpd/vhost.conf.j2
Normal file
@@ -0,0 +1,31 @@
|
||||
<IfModule mod_tls.c>
|
||||
<VirtualHost 0.0.0.0>
|
||||
ServerName {{ servername }}
|
||||
ServerAdmin {{ admin_email }}
|
||||
ServerAlias {{ serveralias }}
|
||||
ServerIdent on "Welcome to %v!"
|
||||
Protocols {{ ftp_protocols }}
|
||||
Port {{ ftp_port }}
|
||||
{# PassivePorts 49152 65534 #}
|
||||
DisplayChdir .category.msg
|
||||
DisplayLogin .welcome.msg
|
||||
|
||||
TLSEngine on
|
||||
TLSLog /var/log/proftpd/tls.log
|
||||
TLSProtocol SSLv23
|
||||
TLSOptions AllowClientRenegotiations
|
||||
TLSVerifyClient off
|
||||
TLSRequired on
|
||||
TLSRenegotiate required off
|
||||
|
||||
TLSECCertificateFile {{ sec_cert_path }}
|
||||
TLSCACertificateFile {{ sca_cert_path }}
|
||||
TLSECCertificateKeyFile {{ key_cert_path }}
|
||||
|
||||
<IfModule mod_auth_file.c>
|
||||
AuthUserFile {{ ftp_auth_user_path }}
|
||||
AuthGroupFile {{ ftp_auth_group_path }}
|
||||
AuthFileOptions SyntaxCheck
|
||||
</IfModule>
|
||||
</VirtualHost>
|
||||
</IfModule>
|
Reference in New Issue
Block a user