grafana/README.configure
2024-12-22 16:31:06 +01:00

46 lines
1003 B
Plaintext

# ---
# see also:
#
# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/
# https://stackoverflow.com/questions/64273881/reverse-proxy-nginx-with-grafana
# ---
# Example config for host 'grafana.ndneu.de'
#
[server]
protocol = http
# The port to bind to, defaults to 3000
http_port = 3002
# he public facing host name used to access grafana from a browser
domain = grafana.ndneu.de
# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = %(protocol)s://%(domain)s:%(http_port)s
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
enforce_domain = true
serve_from_sub_path = false
enable_gzip = true
[log.file]
log_rotate = true
daily_rotate = true
max_days = 7
[smtp]
enabled = true
host = a.mx.oopen.de:465
user = grafana-nd
password = 24G%s.NSKJ/q
from_address = alert@grafana.ndneu.de
from_name = Grafana