aboutsummaryrefslogtreecommitdiff
path: root/roles/apache/templates/vhost_nophp.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apache/templates/vhost_nophp.conf.j2')
-rw-r--r--roles/apache/templates/vhost_nophp.conf.j221
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/apache/templates/vhost_nophp.conf.j2 b/roles/apache/templates/vhost_nophp.conf.j2
new file mode 100644
index 0000000..22d948a
--- /dev/null
+++ b/roles/apache/templates/vhost_nophp.conf.j2
@@ -0,0 +1,21 @@
+# This file is managed by Ansible. Do not change.
+
+<IfModule mod_ssl.c>
+ <VirtualHost _default_:443>
+ ServerName {{ item.value.hostname }}
+
+ ServerAdmin webmaster@localhost
+ DocumentRoot /var/www/{{ item.key }}/{{ item.value.relative_root }}
+
+ <Directory /var/www/{{ item.key }}>
+ AllowOverride All
+ Require all granted
+ </Directory>
+
+ Include ssl.conf
+
+ {{ item.value.apache_custom_conf | default("") }}
+ </VirtualHost>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet