石墨网中的授权

时间:2021-01-05 23:35:17

标签: apache authentication graphite

我已使用此文档安装了 Graphite: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-graphite-on-an-ubuntu-14-04-server Graphites 使用 Apache 作为网络服务器。 我想为 web 部件添加授权。 我找到了这个文档: https://github.com/bfraser/chef-graphite 以及这些属性:

node['graphite']['apache']['basic_auth']['enabled'] - enable basic auth in the apache2 vhost to require authentication for access to web interface (defaults to false)
node['graphite']['apache']['basic_auth']['file_path'] - location of htpasswd file for basic auth (defaults to node['graphite']['doc_root']/htpasswd)
node['graphite']['apache']['basic_auth']['user'] - username for basic auth
node['graphite']['apache']['basic_auth']['pass'] - password for basic auth

如何更改这些属性?

0 个答案:

没有答案