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

15 lines
561 B
Plaintext
Raw Normal View History

<VirtualHost *:80 *:443>
ServerAdmin webmaster@thunix.net
2019-04-29 22:24:11 +00:00
ServerName deb.thunix.net
SSLEngine on
2019-04-29 22:24:11 +00:00
DocumentRoot /var/www/deb.thunix.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
2019-05-25 14:13:46 +00:00
</Directorymatch>
# Redirect permanent / https://wiki.thunix.net/
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
</VirtualHost>