fuel-library/deployment/puppet/osnailyfacter/templates/api_proxy.conf.erb
Aleksandr Didenko 5882a8ba14 New tasks for Horizon, API-proxy and Ceph radosgw
* move Horizon, API proxy and radosgw setup from
  openstack::controller to separate tasks
* minor refactoring of some ceph manifests to allow separate
  ceph::radosgw declaration
* fixing mistake in osnailyfacter::apache_api_proxy - we pass
  master_ip as parameter, so there's no need to pull it via hiera
  inside the class
* fixing warning from api_proxy.conf.erb template

Change-Id: I03810ed51ae015ac64dde6e82ce2f721a42f45d3
Related-Blueprint: fuel-library-modularization
2015-03-10 13:16:11 +02:00

14 lines
288 B
Plaintext

ProxyRequests on
ProxyVia On
AllowCONNECT 443 563
HostnameLookups off
<Proxy *>
Order Deny,Allow
<% if @master_ip.kind_of?(Array) -%>
Allow from <%= @master_ip.join(",") %>
<% else -%>
Allow from <%= @master_ip %>
<% end -%>
Deny from all
</Proxy>