browbeat/ansible/install/roles/collectd-openstack/templates/00-browbeat_mod_status.conf.j2
Masco Kaliyamoorthy 461b016f13 use tripleo-ansible-inventry to generate hosts
Change-Id: I54d6eba518910e6651758bc7d46624bafacaef6c
2021-03-30 21:19:14 +05:30

26 lines
651 B
Django/Jinja

# Installed by Browbeat Ansible Installer
LoadModule status_module modules/mod_status.so
{% if 'Undercloud' in group_names %}
Listen {{apache_undercloud_mod_status_port}}
{% endif %}
{% if 'Controller' in group_names %}
Listen {{apache_controller_mod_status_port}}
{% endif %}
ExtendedStatus on
{% if 'Undercloud' in group_names %}
<VirtualHost *:{{apache_undercloud_mod_status_port}}>
{% endif %}
{% if 'Controller' in group_names %}
<VirtualHost *:{{apache_controller_mod_status_port}}>
{% endif %}
<Location /mod_status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
</VirtualHost>