2
{% for ext, int in endpoints -%}
4
NameVirtualHost *:{{ ext }}
5
<VirtualHost *:{{ ext }}>
6
ServerName {{ private_address }}
8
SSLCertificateFile /etc/apache2/ssl/{{ namespace }}/cert
9
SSLCertificateKeyFile /etc/apache2/ssl/{{ namespace }}/key
10
ProxyPass / http://localhost:{{ int }}/
11
ProxyPassReverse / http://localhost:{{ int }}/