mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Middleware: Add Custom Headers to HTTP responses (#59018)
* Middleware: Add Custom Headers to HTTP responses * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> * Update conf/defaults.ini Co-authored-by: Dave Henderson <dave.henderson@grafana.com> * Update conf/sample.ini Co-authored-by: Dave Henderson <dave.henderson@grafana.com> * Update _index.md Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
This commit is contained in:
@@ -292,6 +292,17 @@ Sets the maximum time using a duration format (5s/5m/5ms) before timing out read
|
||||
|
||||
<hr />
|
||||
|
||||
## [server.custom_response_headers]
|
||||
|
||||
This setting enables you to specify additional headers that the server adds to HTTP(S) responses.
|
||||
|
||||
```
|
||||
exampleHeader1 = exampleValue1
|
||||
exampleHeader2 = exampleValue2
|
||||
```
|
||||
|
||||
<hr />
|
||||
|
||||
## [database]
|
||||
|
||||
Grafana needs a database to store users and dashboards (and other
|
||||
|
||||
Reference in New Issue
Block a user