461b016f13
Change-Id: I54d6eba518910e6651758bc7d46624bafacaef6c
26 lines
651 B
Django/Jinja
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>
|