Add 'roles/webserver/files/etc/apache2/sites-available/git.thunix.net.conf'
This commit is contained in:
parent
3f1a9fcecd
commit
e96afff5d4
|
@ -0,0 +1,28 @@
|
|||
<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>
|
Loading…
Reference in New Issue