grafana / tutorials

A series of tutorials for helping you make the most out of Grafana.
Apache License 2.0
111 stars 29 forks source link

Incorrect nginx subpath config #212

Open tarkhil opened 1 year ago

tarkhil commented 1 year ago
location /grafana/ {
    rewrite  ^/grafana/(.*)  /$1 break;
    proxy_set_header Host $http_host; 
    proxy_pass http://grafana;
  }

rewrite here will never work as expected. I guess you should try your code before publishing

/grafana/'s redirect to /login will fall outside of scope of location