Nginx config not working for reverse proxy

Hi,

I am using https://grafana.com/docs/installation/behind_proxy/ for nginx config with subpath.

nginx config:

server {
  listen 80;
  root /usr/share/nginx/html;
  index index.html index.htm;
  include /etc/nginx/mime.types;

  location /grafana/ {
   proxy_pass http://1X7.00.00.001:3000/;
   proxy_set_header Host $host;
   proxy_set_header X-Forwarded-For $remote_addr;
  }
}

grafana.ini
[server]
domain = abc-xyz.pqr.net
root_url = %(protocol)s://%(domain)s/grafana/

When I am hitting https://abc-xyz.pqr.net/grafana on browser, getting default  warning message from grafana as below,

**If you're seeing this Grafana has failed to load its application files **

**1. This could be caused by your reverse proxy settings.** 

and so on.

Is anything missing? Please suggest.