2
{% for ext_port in ext_ports -%}
5
{% for address, endpoint, ext, int in endpoints -%}
6
<VirtualHost {{ address }}:{{ ext }}>
7
ServerName {{ endpoint }}
9
SSLCertificateFile /etc/apache2/ssl/{{ namespace }}/cert_{{ endpoint }}
10
SSLCertificateKeyFile /etc/apache2/ssl/{{ namespace }}/key_{{ endpoint }}
11
ProxyPass / http://localhost:{{ int }}/
12
ProxyPassReverse / http://localhost:{{ int }}/