vhost.conf.j2 458 B

123456789101112131415
  1. # {{ ansible_managed }}
  2. <VirtualHost *:80>
  3. ServerAdmin webmaster@{{ ansible_fqdn }}
  4. ServerName {{ ansible_fqdn }}
  5. ErrorLog logs/{{ ansible_hostname }}-error.log
  6. CustomLog logs/{{ ansible_hostname }}-common.log common
  7. DocumentRoot /var/www/vhosts/{{ ansible_hostname }}/
  8. <Directory /var/www/vhosts/{{ ansible_hostname }}/>
  9. Options +Indexes +FollowSymlinks +Includes
  10. Order allow,deny
  11. Allow from all
  12. </Directory>
  13. </VirtualHost>