summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home/ch-mon.yml')
-rw-r--r--chaos-at-home/ch-mon.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chaos-at-home/ch-mon.yml b/chaos-at-home/ch-mon.yml
index 906e8adc..bb20677f 100644
--- a/chaos-at-home/ch-mon.yml
+++ b/chaos-at-home/ch-mon.yml
@@ -15,3 +15,16 @@
- role: monitoring/prometheus/alertmanager
- role: monitoring/prometheus/server
- role: monitoring/grafana
+ - role: nginx/vhost
+ nginx_vhost:
+ name: monitoring
+ template: generic-proxy-no-buffering
+ hostnames:
+ - "_"
+ locations:
+ '/grafana/':
+ proxy_pass: "http://127.0.0.1:3000"
+ '/prometheus/':
+ proxy_pass: "http://127.0.0.1:9090"
+ '/alertmanager/':
+ proxy_pass: "http://127.0.0.1:9093"