From fd8a2158f1f26153be60aaa9052a180329280e86 Mon Sep 17 00:00:00 2001 From: Ezequiel Victorero Date: Tue, 18 Feb 2025 14:35:40 -0300 Subject: [PATCH] Docs: Image renderer https configuration using environment variables (#100846) --- .../setup-grafana/image-rendering/_index.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/sources/setup-grafana/image-rendering/_index.md b/docs/sources/setup-grafana/image-rendering/_index.md index 1daecc33d2f..c3f1fc0425a 100644 --- a/docs/sources/setup-grafana/image-rendering/_index.md +++ b/docs/sources/setup-grafana/image-rendering/_index.md @@ -221,10 +221,14 @@ HTTPS protocol is supported in the image renderer v3.11.0 and later. Change the protocol of the server, it can be `http` or `https`. Default is `http`. +```bash +HTTP_PROTOCOL=https +``` + ```json { "service": { - "protocol": "http" + "protocol": "https" } } ``` @@ -233,6 +237,11 @@ Change the protocol of the server, it can be `http` or `https`. Default is `http Path to the image renderer certificate and key file used to start an HTTPS server. +```bash +HTTP_CERT_FILE=./path/to/cert +HTTP_CERT_KEY=./path/to/key +``` + ```json { "service": { @@ -246,6 +255,10 @@ Path to the image renderer certificate and key file used to start an HTTPS serve Minimum TLS version allowed. Accepted values are: `TLSv1.2`, `TLSv1.3`. Default is `TLSv1.2`. +```bash +HTTP_MIN_TLS_VERSION=TLSv1.2 +``` + ```json { "service": {