Secure Grafana with Reverse Proxy

Hi grafana community.
I have an SSL certificate. i want to secure my grafana with reverse proxy like Nginx. I have change the Grafana.ini file
domain = my_domain.net
root_url = %(protocol)s://%(domain)s:%(http_port)s/wallboard/
serve_from_sub_path = true
And i have change the nginx.conf file like this
map $http_upgrade $connection_upgrade {
default upgrade;
‘’ close;
}
upstream oc-wallboard {
server www.nginx.net;
}

server {

     location /oc-wallboard/ {
    rewrite  ^/oc-wallboard/(.*)  /$1 break;
     proxy_set_header Host $http_host;
     proxy_pass  http://grafana-running-on-this-link/login/;

}
location /oc-wallboard/api/live/ {
rewrite ^/oc-wallboard/(.*) /$1 break;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $http_host;
proxy_pass http://grafana-running-on-this-link/login/;
}

}
Team Will You please check where i am missing things