Files
ansible-office/roles/lamp/templates/example.com.conf.j2

18 lines
349 B
Django/Jinja

<VirtualHost *:80>
ServerName {{ hostname }}
DirectoryIndex index.php index.html
DocumentRoot {{ web_root }}
<Directory {{ web_root }}>
Options +FollowSymlinks -Indexes
AllowOverride All
Require all granted
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME {{ web_root }}
SetEnv HTTP_HOME {{ web_root }}
</Directory>
</VirtualHost>