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

This commit is contained in:
deepend 2023-06-28 19:10:40 +00:00
parent 4f68c4db91
commit f4570f2436
1 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<VirtualHost *:80> <VirtualHost *:80 *:443>
ServerAdmin webmaster@thunix.net ServerAdmin webmaster@thunix.net
ServerName rpm.thunix.net ServerName rpm.thunix.net
SSLEngine on
DocumentRoot /var/www/rpm.thunix.net DocumentRoot /var/www/rpm.thunix.net
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
@ -8,4 +9,6 @@
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directorymatch> </Directorymatch>
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
</VirtualHost> </VirtualHost>