Update 'roles/webserver/files/etc/apache2/sites-available/stats.thunix.net.conf'
This commit is contained in:
parent
0e43e228bf
commit
6f47c75f87
|
@ -1,6 +1,7 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80 *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin webmaster@thunix.net
|
||||||
ServerName stats.thunix.net
|
ServerName stats.thunix.net
|
||||||
|
SSLEngine on
|
||||||
DocumentRoot /var/www/stats.thunix.net
|
DocumentRoot /var/www/stats.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>
|
Loading…
Reference in New Issue