From 8a02ac93aa843c12071393e8171f6c5c34110603 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 29 Dec 2022 10:03:18 +0100 Subject: [PATCH] grafana: Erweitere Konfigurationsdatei --- templates/grafana.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/templates/grafana.ini b/templates/grafana.ini index 2f5add1..3335a8a 100644 --- a/templates/grafana.ini +++ b/templates/grafana.ini @@ -1,7 +1,10 @@ # {{ ansible_managed }} [server] +protocoll = https domain = {{ grafana.domain }} +enforce_domain = true +root_url = https://{{ grafana.domain }} [database] type = mysql @@ -10,6 +13,13 @@ name = {{ grafana_db }} user = {{ grafana_db_user }} password = {{ grafana_db_password }} +[session] +cookie_secure = true + +[analytics] +reporting_enabled = false +check_for_updates = false + [security] disable_gravatar = true cookie_secure = true @@ -23,5 +33,13 @@ x_xss_protection = true content_security_policy = true content_security_policy_template = """script-src 'unsafe-eval' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data:;base-uri 'self';connect-src 'self' grafana.com;manifest-src 'self';media-src 'none';form-action 'self';""" +[users] +allow_sign_up = false +default_locale = de-DE + [auth.anonymous] enabled = false + +[plugin.grafana-image-renderer] +rendering_timezone = Europe/Berlin +rendering_language = de-DE