14 lines
544 B
Plaintext
14 lines
544 B
Plaintext
<VirtualHost *:80 *:443>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName deb.thunix.net
|
|
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
|
|
</Directorymatch>
|
|
# Redirect permanent / https://wiki.thunix.net/
|
|
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
|
</VirtualHost> |