~alexlist/charms/trusty/keystone/mojo-is-swift-ha

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/openstack_https_frontend.conf

  • Committer: James Page
  • Date: 2014-04-16 08:20:08 UTC
  • mfrom: (52.2.30 keystone)
  • Revision ID: james.page@canonical.com-20140416082008-34w0nyak0y571tfp
[james-page,ivoks,hazmat,yolanda.robla,r=james-page,t=*]

Redux to used charm helpers
Support for Icehouse on 12.04 and 14.04
Support for Active/Active and SSL RabbitMQ
Support for SSL MySQL
Support for SSL endpoints
Support for PostgreSQL

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% if endpoints -%}
 
2
{% for ext, int in endpoints -%}
 
3
Listen {{ ext }}
 
4
NameVirtualHost *:{{ ext }}
 
5
<VirtualHost *:{{ ext }}>
 
6
    ServerName {{ private_address }}
 
7
    SSLEngine on
 
8
    SSLCertificateFile /etc/apache2/ssl/{{ namespace }}/cert
 
9
    SSLCertificateKeyFile /etc/apache2/ssl/{{ namespace }}/key
 
10
    ProxyPass / http://localhost:{{ int }}/
 
11
    ProxyPassReverse / http://localhost:{{ int }}/
 
12
    ProxyPreserveHost on
 
13
</VirtualHost>
 
14
<Proxy *>
 
15
    Order deny,allow
 
16
    Allow from all
 
17
</Proxy>
 
18
<Location />
 
19
    Order allow,deny
 
20
    Allow from all
 
21
</Location>
 
22
{% endfor -%}
 
23
{% endif -%}