30 lines
957 B
Plaintext
30 lines
957 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName thunix.cf
|
|
ServerAlias kbguajmip4jlr2k3vpscmvymtxqnft267ox2ij6pdrgb5jcvx3kctkyd.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>
|
|
</VirtualHost>
|
|
<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>
|