Skip to content
Snippets Groups Projects
Verified Commit 1e6ecccc authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

grafana: Set the Host header to account for CSRF changes[1] in v8.3.5

Without this fix all the Prometheus dashboards failed loading data with:
"Error updating options: origin not allowed".

[1] https://github.com/grafana/grafana/issues/45117#issuecomment-1033842787
parent 61a67877
No related branches found
No related tags found
No related merge requests found
Pipeline #15914 passed
......@@ -41,6 +41,7 @@ server {
{% set proxy -%}
proxy_pass http://grafana;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment