added apache virtual host template file

This commit is contained in:
2024-12-04 11:14:09 +01:00
parent 7f50fbd7e0
commit 996b0ce4ee
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<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>