I want to give access to public dashboard created on grafana cloud through nginx so that I can track the frequency and number of times users are using it.
I have got a config under nginx which proxy to public dashboard. As far as the nginx is concerned it proxies the request but looks grafana is not responding to the request. here is my nginx config.
set $grafana orgdev.grafana.net;
location /path {
client_max_body_size 1M;
include sites.inc/dont-cache.inc;
include sites.inc/security.inc;
include sites.inc/proxy.inc;
rewrite /path/(.*)$ /public-dashboards/$1 break;
proxy_set_header Host $grafana;
proxy_pass https://$grafana;
break;
}