28 lines
974 B
Plaintext
28 lines
974 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName git.thunix.net
|
|
DocumentRoot /var/www/git.thunix.net
|
|
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 git.thunix.net
|
|
# DocumentRoot /var/www/git.thunix.net
|
|
# ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
# CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
# <Directorymatch "^/.*/\.git/">
|
|
# Order deny,allow
|
|
# Deny from all
|
|
# </Directorymatch>
|
|
# SSLCertificateFile /etc/letsencrypt/live/git.thunix.net/fullchain.pem
|
|
# SSLCertificateKeyFile /etc/letsencrypt/live/git.thunix.net/privkey.pem
|
|
# Include /etc/letsencrypt/options-ssl-apache.conf
|
|
#</VirtualHost>
|
|
#</IfModule> |