blob: 6fca86890c406460c67ac6d4cc671e0b3fc383c4 (
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
|
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName {{ item.value.hostname }}
{% if item.value.ssl is defined and item.value.ssl is sameas true %}
SSLProxyEngine on
SSLProxyVerify require
SSLProxyCACertificateFile "/etc/ssl/certs/ca-certificates.crt"
SSLProxyCheckPeerCN on
SSLProxyVerifyDepth 10
{% endif %}
ProxyPass / {{ item.value.proxy }}
ProxyPassReverse / {{ item.value.proxy }}
{{ item.value.apache_custom_conf | default("") }}
Include ssl.conf
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|