# Grafana x HTTPS

**URL:** <https://community.grafana.com/t/grafana-x-https/9367>\
**Category:** Configuration\
**Created:** [August 2, 2018, 6:21pm UTC](https://community.grafana.com/t/grafana-x-https/9367 "2018-08-02T18:21:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravwork](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ravwork/32/203_2.png) [@ravwork](https://community.grafana.com/u/ravwork)\
**Post date:** [August 2, 2018, 6:21pm UTC](https://community.grafana.com/t/grafana-x-https/9367/1 "2018-08-02T18:21:54Z")

</div>

Hi all,  
could you please help guiding me in configuring Grafana with https ? Our Grafana environment is in Linux CentOS. I have tried some documentation without success.

Thank you so much.

Alexandre.

---

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [August 3, 2018, 12:00pm UTC](https://community.grafana.com/t/grafana-x-https/9367/2 "2018-08-03T12:00:06Z")

</div>

You’ll need to run Grafana behind a reverse proxy. Grafana itself doesn’t support HTTPS. See [http://docs.grafana.org/installation/behind\_proxy/#running-grafana-behind-a-reverse-proxy](http://docs.grafana.org/installation/behind_proxy/#running-grafana-behind-a-reverse-proxy)

---

<div class="post-metadata">

**Author:** ![ravwork](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ravwork/32/203_2.png) [@ravwork](https://community.grafana.com/u/ravwork)\
**Post date:** [August 3, 2018, 2:47pm UTC](https://community.grafana.com/t/grafana-x-https/9367/3 "2018-08-03T14:47:54Z")

</div>

Hi mefraimsson,  
thank you so much for response.

From now, I get courious. What the parameter (protocol = https) in grafana.ini is good for ?

Regards.  
Alexandre.

---

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [August 6, 2018, 3:28pm UTC](https://community.grafana.com/t/grafana-x-https/9367/4 "2018-08-06T15:28:56Z")

</div>

When having `root_url = %(protocol)s://%(domain)s:%(http_port)s/` which basically are used for Grafana to understand what the public facing url. There’s a lot of confusion around these settings, but in normal cases we recommend setting `root_url = https://<your public facing url>/`.

---

<div class="post-metadata">

**Author:** ![rubenblancom](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rubenblancom](https://community.grafana.com/u/rubenblancom)\
**Post date:** [June 24, 2019, 11:22am UTC](https://community.grafana.com/t/grafana-x-https/9367/5 "2019-06-24T11:22:44Z")

</div>

I am trying to configure graffiti by https but they indicate that it is not compatible. Is there any possibility to configure https with certificates to serve the page safely?

I have ubuntu 18, apache and latest version of grafan

---

<div class="post-metadata">

**Author:** ![pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@pooh](https://community.grafana.com/u/pooh)\
**Post date:** [June 24, 2019, 11:44am UTC](https://community.grafana.com/t/grafana-x-https/9367/6 "2019-06-24T11:44:39Z")

</div>

> I am trying to configure graffiti by https

I am confused. Which graffiti are we talking about here? Can you give a link  
to the project page? I can only find it as a handwriting recognition for Palm  
OS, or a rather specialised application used in maths and chemisty…

> but they indicate that it is not compatible.

Who are ‘they’?

> Is there any possibility to configure https with certificates to serve the  
> page safely?

You can convert HTTP to HTTPS (and vice versa if you want) with a reverse  
proxy, and you can convert any TCP protocol to use TLS with stunnel.

Regards,

Antony.
