graphite: add grafana header to CORS allowed list
Honestly we're not 100% sure where this CORS setup came from, it's
always been like this. grafana recently added a header it's sending
to graphite [1] (found by frickler) which we need to white-list so it
works with modern grafana.
[1] 1a281ac49d (diff-70030faa245250908d55db47258ce505d474db1559995683f8df1a951504236fR24)
Change-Id: I21570bd1a350e430bc04a14ad9d2cb1bf652d021
This commit is contained in:
parent
f4a20b0502
commit
86dfc9ee25
@ -54,7 +54,7 @@ server {
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type';
|
||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, X-Grafana-Device-Id';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user