Add 'roles/webserver/files/etc/apache2/sites-available/www.amcclure.tilde.conf'
This commit is contained in:
parent
af5091c37d
commit
114878ddaf
|
@ -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>
|
Loading…
Reference in New Issue