r/grafana: Fix Origin not allowed error

Grafana 8.3.5 introduced a new CSRF protection mechanism that requires
the value of the Host HTTP request header to be preserved from the
original client request.

https://github.com/grafana/grafana/issues/45117#issuecomment-1033842787
This commit is contained in:
2022-07-24 10:07:45 -05:00
parent 3e8da609e7
commit be4bbc0092
3 changed files with 3 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ http_addr = {{ grafana_http_addr }}
http_port = 3000
# The public facing domain name used to access grafana from a browser
domain = localhost
domain = {{ grafana_domain }}
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks