Update 'roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf'

This commit is contained in:
deepend 2023-06-28 19:05:13 +00:00
parent a96abb6a61
commit 0e43e228bf
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<VirtualHost *:80> <VirtualHost *:80 *:443>
ServerAdmin webmaster@thunix.net ServerAdmin webmaster@thunix.net
ServerName ftp.thunix.net ServerName ftp.thunix.net
SSLEngine on
DocumentRoot /var/www/ftp.thunix.cf DocumentRoot /var/www/ftp.thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined
@ -16,4 +17,6 @@
Options Indexes SymLinksIfOwnerMatch FollowSymLinks Options Indexes SymLinksIfOwnerMatch FollowSymLinks
ErrorDocument 404 default ErrorDocument 404 default
</Directory> </Directory>
</VirtualHost> SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
</VirtualHost>