16 lines
455 B
Django/Jinja
16 lines
455 B
Django/Jinja
<VirtualHost *:80>
|
|
ServerAdmin {{ ansible_hostname }}
|
|
ServerName {{ ansible_hostname }}
|
|
ServerAlias {{ ansible_hostname }}
|
|
|
|
DocumentRoot /var/www/html
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/{{ ansible_hostname }}_error.log
|
|
CustomLog ${APACHE_LOG_DIR}/{{ ansible_hostname }}.log combined
|
|
|
|
<Directory /var/www/html>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost> |