aboutsummaryrefslogtreecommitdiffstats
path: root/roles/grafana/templates/grafana_reverse.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/grafana/templates/grafana_reverse.conf.j2')
-rw-r--r--roles/grafana/templates/grafana_reverse.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/grafana/templates/grafana_reverse.conf.j2 b/roles/grafana/templates/grafana_reverse.conf.j2
new file mode 100644
index 0000000..c0f926c
--- /dev/null
+++ b/roles/grafana/templates/grafana_reverse.conf.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 }}/;
+ }
+}
remember that computers suck.