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

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代理,开启外网访问权限配置)