28 lines
852 B
INI
28 lines
852 B
INI
|
# {{ ansible_managed }}
|
||
|
|
||
|
[server]
|
||
|
domain = {{ grafana.domain }}
|
||
|
|
||
|
[database]
|
||
|
type = mysql
|
||
|
host = 127.0.0.1:3306
|
||
|
name = {{ grafana_db }}
|
||
|
user = {{ grafana_db_user }}
|
||
|
password = {{ grafana_db_password }}
|
||
|
|
||
|
[security]
|
||
|
disable_gravatar = true
|
||
|
cookie_secure = true
|
||
|
cookie_samesite = strict
|
||
|
strict_transport_security = true
|
||
|
strict_transport_security_max_age_seconds = 86400
|
||
|
strict_transport_security_preload = true
|
||
|
strict_transport_security_subdomains = true
|
||
|
x_content_type_options = true
|
||
|
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';"""
|
||
|
|
||
|
[auth.anonymous]
|
||
|
enabled = false
|