blob: 78862af5d48628bcc67efd38a1e38bc7e767f86a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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>
AssignUserID www-{{ item.key }} www-{{ item.key }}
Include ssl.conf
{{ item.value.apache_custom_conf | default("") }}
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php{{ item.value.php_version }}-fpm.www-{{ item.key }}.sock|fcgi://localhost"
</FilesMatch>
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|