Faild to use reverse proxy nginx with grafana

Hello eveyone!

I am having some problems when using reverse proxy. It always response Unable to connect when I access from browser.

This is my config in nginx and I don’t see anything is wrong.

server {
listen 80;
server_name vu-review.com;
location /grafana {
proxy_pass http://11.10.14.245:3000;
}
root /var/www/html;
}

refer this https://serverfault.com/questions/684709/how-to-proxy-grafana-with-nginx

you need to set root_url.