live: add allowed_origins option (#36318)

This commit is contained in:
Alexander Emelin
2021-07-01 09:30:09 +03:00
committed by GitHub
parent b8010ba9f5
commit 483418dbb0
5 changed files with 115 additions and 19 deletions

View File

@@ -901,6 +901,10 @@ plugin_catalog_url = https://grafana.com/grafana/plugins/
# tuning. 0 disables Live, -1 means unlimited connections.
max_connections = 100
# allowed_origins is a comma-separated list of origins that can establish connection with Grafana Live.
# If not set then origin will be matched over root_url. Supports globbing: see https://github.com/gobwas/glob.
allowed_origins =
# engine defines an HA (high availability) engine to use for Grafana Live. By default no engine used - in
# this case Live features work only on a single Grafana server.
# Available options: "redis".

View File

@@ -887,6 +887,10 @@
# tuning. 0 disables Live, -1 means unlimited connections.
;max_connections = 100
# allowed_origins is a comma-separated list of origins that can establish connection with Grafana Live.
# If not set then origin will be matched over root_url. Supports globbing: see https://github.com/gobwas/glob.
;allowed_origins =
# engine defines an HA (high availability) engine to use for Grafana Live. By default no engine used - in
# this case Live features work only on a single Grafana server. Available options: "redis".
# Setting ha_engine is an EXPERIMENTAL feature.