I have the following configuration in grafana.ini:
[server]
# Protocol (http, https, h2, socket)
;protocol = https
# The ip address to bind to, empty will bind to all interfaces
;http_addr =
# The http port to use
;http_port = 3000
# The public facing domain name used to access grafana from a browser
;domain = grafana.domain.es
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = False
# 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 = https://grafana.domain.es:3000
# Serve Grafana from subpath specified in `root_url` setting. By default it is set to `fal>
;serve_from_sub_path = false
# Log web requests
;router_logging = false
# the path relative working path
;static_root_path = public
# enable gzip
;enable_gzip = false
# https certs & key file
;cert_file = /etc/grafana/domain.cer
;cert_key = /etc/grafana/domain.key
# Unix socket path
;socket =
# CDN Url
;cdn_url =
but when accessing the page directly, it does not go https://grafana.domain.es:3000
when I do a curl it gives me this answer:
curl -k https://grafana.domain.es:3000/
curl: (35) error: 1400410B: SSL routines: CONNECT_CR_SRVR_HELLO: wrong version number
it is necessary to histalar some inverse proxy so that it redirects to the http :? I don’t understand how this works in grafana