# Grafana https error

**URL:** <https://community.grafana.com/t/grafana-https-error/57074>\
**Category:** Configuration\
**Created:** [December 2, 2021, 12:01pm UTC](https://community.grafana.com/t/grafana-https-error/57074 "2021-12-02T12:01:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ortiga88](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@ortiga88](https://community.grafana.com/u/ortiga88)\
**Post date:** [December 2, 2021, 12:01pm UTC](https://community.grafana.com/t/grafana-https-error/57074/1 "2021-12-02T12:01:17Z")

</div>

I have the following configuration in grafana.ini:

```auto
[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](https://grafana.domain.es:3000)

when I do a curl it gives me this answer:  
curl -k [https://grafana.domain.es:3000/](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
