mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Add 'roles/webserver/files/etc/apache2/sites-available/www.amcclure.tilde.conf'
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin amcclure@ttm.sh
|
||||
ServerName www.amcclure.tilde
|
||||
DocumentRoot /var/www/tilde
|
||||
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 amcclure@ttm.sh
|
||||
ServerName www.amcclure.tilde
|
||||
DocumentRoot /var/www/tilde
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
<Directorymatch "^/.*/\.git/">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
SSLCertificateFile /home/amcclure/www.amcclure.tilde.cert
|
||||
SSLCertificateKeyFile /home/amcclure/www.amcclure.tilde.key
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user