ansible/roles/webserver/files/etc/apache2/sites-available/www.thunix.net-le-ssl.conf

18 lines
542 B
Plaintext
Raw Normal View History

2019-02-16 01:42:17 +00:00
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@thunix.net
ServerName www.thunix.net
DocumentRoot /var/www/thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
Include /etc/letsencrypt/options-ssl-apache.conf
2019-02-16 02:29:20 +00:00
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
2019-02-16 01:42:17 +00:00
</VirtualHost>
</IfModule>