From 642df4fb6653bd67f398a08412e77fda9b2dfe03 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 22 Jan 2021 11:46:52 +0100 Subject: Add grafana to OpenBSD cloud server --- roles/grafana/templates/grafana.conf.nginx.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/grafana/templates/grafana.conf.nginx.j2 (limited to 'roles/grafana/templates/grafana.conf.nginx.j2') diff --git a/roles/grafana/templates/grafana.conf.nginx.j2 b/roles/grafana/templates/grafana.conf.nginx.j2 new file mode 100644 index 0000000..c0f926c --- /dev/null +++ b/roles/grafana/templates/grafana.conf.nginx.j2 @@ -0,0 +1,9 @@ +server { + listen {{ grafana_port_out }}; + root /usr/share/nginx/html; + index index.html index.htm; + + location / { + proxy_pass http://127.0.0.1:{{ grafana_port }}/; + } +} -- cgit v1.2.3