nginx配置:
location /prometheus/ {
proxy_set_header Host $http_host;
proxy_pass http://10.130.103.14:3000;
}
grafana:
domain = bum.yland.com
root_url = %(protocol)s://%(domain)s:%(http_port)s/prometheus
serve_from_sub_path = true
nginx配置:
location /prometheus/ {
proxy_set_header Host $http_host;
proxy_pass http://10.130.103.14:3000;
}
grafana:
domain = bum.yland.com
root_url = %(protocol)s://%(domain)s:%(http_port)s/prometheus
serve_from_sub_path = true
本文标题:grafana使用nginx代理,开启外网访问权限配置
本文链接:https://www.haomeiwen.com/subject/uhvisdtx.html
网友评论