# Running Grafana behind a reverse proxy in https

**URL:** <https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320>\
**Category:** Configuration\
**Created:** [October 19, 2017, 2:19pm UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320 "2017-10-19T14:19:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoav](https://avatars.discourse-cdn.com/v4/letter/y/58f4c7/32.png) [@yoav](https://community.grafana.com/u/yoav)\
**Post date:** [October 19, 2017, 2:19pm UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/1 "2017-10-19T14:19:49Z")

</div>

Hi,

Following this page: [http://docs.grafana.org/installation/behind\_proxy/](http://docs.grafana.org/installation/behind_proxy/) we manage to successfully configure Nginx for reverse proxy.  
Now we need to make it over https.  
Do we need to defined only the nginx server ssl\_certificate or also in grafana.ini file.  
We have tried a few difrant options with no success.

Regards,  
Yoav

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [October 19, 2017, 7:14pm UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/2 "2017-10-19T19:14:15Z")

</div>

you only need to configure SSL in nginx

---

<div class="post-metadata">

**Author:** ![yoav](https://avatars.discourse-cdn.com/v4/letter/y/58f4c7/32.png) [@yoav](https://community.grafana.com/u/yoav)\
**Post date:** [October 19, 2017, 7:43pm UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/3 "2017-10-19T19:43:23Z")

</div>

and proxy\_pass to http?

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [October 20, 2017, 6:35am UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/4 "2017-10-20T06:35:57Z")

</div>

Yes since grafana is still on http

---

<div class="post-metadata">

**Author:** ![yoav](https://avatars.discourse-cdn.com/v4/letter/y/58f4c7/32.png) [@yoav](https://community.grafana.com/u/yoav)\
**Post date:** [October 22, 2017, 7:56am UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/5 "2017-10-22T07:56:03Z")

</div>

Thank you @torkel!  
Is there more steps we can do to increase the system security?

---

<div class="post-metadata">

**Author:** ![cesarv](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cesarv](https://community.grafana.com/u/cesarv)\
**Post date:** [December 19, 2017, 3:01pm UTC](https://community.grafana.com/t/running-grafana-behind-a-reverse-proxy-in-https/3320/6 "2017-12-19T15:01:59Z")

</div>

@torkel

If SSL is configured in Nginx, does Grafana need to have https configured as well? I have a Grafana instance with https already enabled (and have users configured in it), but I can’t properly configure Nginx as a reverse proxy and my head is about to explode!

Thanks.
