2018-12-21 14:50:46 +00:00
|
|
|
<VirtualHost *:80>
|
2019-02-16 00:19:56 +00:00
|
|
|
ServerAdmin webmaster@thunix.net
|
2018-12-21 14:50:46 +00:00
|
|
|
ServerName thunix.cf
|
2023-07-10 15:21:48 +00:00
|
|
|
ServerAlias kbguajmip4jlr2k3vpscmvymtxqnft267ox2ij6pdrgb5jcvx3kctkyd.onion
|
2018-12-22 15:28:09 +00:00
|
|
|
DocumentRoot /var/www/thunix.cf
|
2018-12-21 14:50:46 +00:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
2018-12-22 15:45:36 +00:00
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
2018-12-21 14:50:46 +00:00
|
|
|
</VirtualHost>
|
2019-05-24 20:17:58 +00:00
|
|
|
<IfModule mod_ssl.c>
|
|
|
|
<VirtualHost *:443>
|
|
|
|
ServerAdmin webmaster@thunix.net
|
|
|
|
ServerName thunix.cf
|
|
|
|
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.cf/fullchain.pem
|
|
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.cf/privkey.pem
|
|
|
|
</VirtualHost>
|
|
|
|
</IfModule>
|