diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-03 23:26:51 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-03 23:26:51 -0400 |
commit | 573a37010fac2c1ff893257be19a1f2842ce11e1 (patch) | |
tree | df1f1d66fabac35d676e2f53968bb1a9335eaa5f /modules/tozt/files/nginx/grafana-tls.conf | |
parent | aed0b7eed874716c0f1930a6b4a175b7e976749a (diff) | |
download | puppet-tozt-573a37010fac2c1ff893257be19a1f2842ce11e1.tar.gz puppet-tozt-573a37010fac2c1ff893257be19a1f2842ce11e1.zip |
use basic auth for grafana
Diffstat (limited to 'modules/tozt/files/nginx/grafana-tls.conf')
-rw-r--r-- | modules/tozt/files/nginx/grafana-tls.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/grafana-tls.conf b/modules/tozt/files/nginx/grafana-tls.conf index 5fc5de4..49d2528 100644 --- a/modules/tozt/files/nginx/grafana-tls.conf +++ b/modules/tozt/files/nginx/grafana-tls.conf @@ -9,6 +9,8 @@ server { location / { proxy_pass http://127.0.0.1:3001/; + auth_basic "grafana"; + auth_basic_user_file "/media/persistent/grafana.htpasswd"; } } # vim:ft=nginx |