29 lines
933 B
Plaintext
29 lines
933 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName dev.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>
|
|
</VirtualHost>
|
|
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName dev.thunix.net
|
|
ServerAlias dev.thunixme5v4rnoby.onion
|
|
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
|
|
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
|
</VirtualHost>
|
|
</IfModule>
|