美文网首页
grafana使用nginx代理,开启外网访问权限配置

grafana使用nginx代理,开启外网访问权限配置

作者: CStart | 来源:发表于2023-05-17 16:36 被阅读0次

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