diff --git a/templates/vsftpd.conf.j2 b/templates/vsftpd.conf.j2 index ba42089..ebe0e9b 100644 --- a/templates/vsftpd.conf.j2 +++ b/templates/vsftpd.conf.j2 @@ -116,7 +116,7 @@ secure_chroot_dir=/var/run/vsftpd/empty # # This string is the name of the PAM service vsftpd will use. pam_service_name=vsftpd -# + {% if vsftpd_force_tls %} {% set value_force_local_logins_ssl = 'YES' %} {% set value_force_local_data_ssl = 'YES' %} @@ -124,7 +124,7 @@ pam_service_name=vsftpd {% set value_force_local_logins_ssl = 'NO' %} {% set value_force_local_data_ssl = 'NO' %} {% endif %} -# + {% if vsftpd_tls_enabled %} # SSL/TLS ssl_enable=YES