From e9ba26289af3bb399b7e5f0d4f1de15b3d58d4dc Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 Mar 2017 13:10:27 -0700 Subject: [PATCH] openqa/server: *REALLY* fix the Apache status thing OK, this version actually seems to work. --- roles/openqa/server/templates/openqa.conf.httpd.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/openqa/server/templates/openqa.conf.httpd.j2 b/roles/openqa/server/templates/openqa.conf.httpd.j2 index dd8d9e6195..7557a2c446 100644 --- a/roles/openqa/server/templates/openqa.conf.httpd.j2 +++ b/roles/openqa/server/templates/openqa.conf.httpd.j2 @@ -1,4 +1,10 @@ ServerName {{ external_hostname|default(ansible_nodename) }} +{% if deployment_type is defined %} + + SetHandler server-status + + ProxyPass /apache-status ! +{% endif %} Include conf.d/openqa-common.inc