diff options
author | binary <me@rgoncalves.se> | 2021-01-22 11:46:52 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-22 11:46:52 +0100 |
commit | 642df4fb6653bd67f398a08412e77fda9b2dfe03 (patch) | |
tree | ad50e720154391a3da5fff77143b8c5ca8dcecd4 /roles/grafana/templates/grafana.conf.nginx.j2 | |
parent | 4bedaf8f9b58985fb898784dbec896d031f4de10 (diff) | |
download | infrastructure-642df4fb6653bd67f398a08412e77fda9b2dfe03.tar.gz |
Add grafana to OpenBSD cloud server
Diffstat (limited to 'roles/grafana/templates/grafana.conf.nginx.j2')
-rw-r--r-- | roles/grafana/templates/grafana.conf.nginx.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
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 }}/; + } +} |