Live: document allowed_origins (#36433)

This commit is contained in:
Alexander Emelin
2021-07-06 20:47:05 -07:00
committed by GitHub
parent 0c20cc1d12
commit e60950a8c7
2 changed files with 26 additions and 0 deletions
@@ -1508,6 +1508,23 @@ Refer to [Grafana Live configuration documentation]({{< relref "../live/configur
0 disables Grafana Live, -1 means unlimited connections.
### allowed_origins
> **Note**: Available in Grafana v8.0.4 and later versions.
The `allowed_origins` option is a comma-separated list of additional origins (`Origin` header of HTTP Upgrade request during WebSocket connection establishment) that will be accepted by Grafana Live.
If not set (default), then the origin is matched over [root_url]({{< relref "#root_url" >}}) which should be sufficient for most scenarios.
Origin patterns support wildcard symbol "*".
For example:
```ini
[live]
allowed_origins = "https://*.example.com"
```
<hr>
## [plugin.grafana-image-renderer]