Add variable 'proftpd_default_address' on virtualhost
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
18dd64df50
commit
3a59f5b7ca
|
@ -2,7 +2,7 @@
|
||||||
LoadModule mod_tls.c
|
LoadModule mod_tls.c
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<VirtualHost 0.0.0.0>
|
<VirtualHost {{ proftpd_default_address | join(' ') }}>
|
||||||
TLSEngine on
|
TLSEngine on
|
||||||
TLSLog /var/log/proftpd/ftps.log
|
TLSLog /var/log/proftpd/ftps.log
|
||||||
TLSProtocol TLSv1
|
TLSProtocol TLSv1
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
LoadModule mod_sftp.c
|
LoadModule mod_sftp.c
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<VirtualHost 0.0.0.0>
|
<VirtualHost {{ proftpd_default_address | join(' ') }}>
|
||||||
SFTPEngine on
|
SFTPEngine on
|
||||||
Port {{ proftpd_sftp_port }}
|
Port {{ proftpd_sftp_port }}
|
||||||
DefaultRoot ~
|
DefaultRoot ~
|
||||||
|
|
Loading…
Reference in a new issue