diff options
author | binary <me@rgoncalves.se> | 2020-11-21 22:57:13 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-21 22:57:13 +0100 |
commit | 50492a1b34b6b766c1369425a27678968bb4d28e (patch) | |
tree | f5db6ca67d6e193259d786c5e3b820fab11ec235 /roles/grafana/templates/grafana_reverse.conf.j2 | |
parent | a2705cf6057208708cefcfcb2ee0d285b9d3ec47 (diff) | |
download | infrastructure-50492a1b34b6b766c1369425a27678968bb4d28e.tar.gz |
First try with grafana automation.
Diffstat (limited to 'roles/grafana/templates/grafana_reverse.conf.j2')
-rw-r--r-- | roles/grafana/templates/grafana_reverse.conf.j2 | 9 |
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 }}/; + } +} |