1
{% if options.endpoints -%}
2
{% for ext_port in options.ext_ports -%}
5
{% for address, endpoint, ext, int in options.endpoints -%}
6
<VirtualHost {{ address }}:{{ ext }}>
7
ServerName {{ endpoint }}
9
SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2
10
SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!EXP:!LOW:!MEDIUM
11
SSLCertificateFile /etc/apache2/ssl/{{ options.service_name }}/cert_{{ endpoint }}
12
SSLCertificateKeyFile /etc/apache2/ssl/{{ options.service_name }}/key_{{ endpoint }}
13
ProxyPass / http://localhost:{{ int }}/
14
ProxyPassReverse / http://localhost:{{ int }}/