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

This commit is contained in:
deepend 2023-06-28 18:56:29 +00:00
parent a4b0cd132d
commit a96abb6a61
1 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<VirtualHost *:80> <VirtualHost *:80 *:443>
ServerAdmin webmaster@thunix.net ServerAdmin webmaster@thunix.net
ServerName deb.thunix.net ServerName deb.thunix.net
DocumentRoot /var/www/deb.thunix.net DocumentRoot /var/www/deb.thunix.net
@ -8,4 +8,7 @@
Order deny,allow Order deny,allow
Deny from all Deny from all
</Directorymatch> </Directorymatch>
# Redirect permanent / https://wiki.thunix.net/
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
</VirtualHost> </VirtualHost>