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

2023-05-17  本文已影响0人  CStart

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

上一篇 下一篇

猜你喜欢

热点阅读