# 502 Gateway Error: Discourse Installation with SSL form Cloudflare

**URL:** <https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986>\
**Category:** Self-hosting\
**Created:** [16 juli 2020 om 22:15 UTC](https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986 "2020-07-16T22:15:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)\
**Post date:** [17 juli 2020 om 00:49 UTC](https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986/3 "2020-07-17T00:49:27Z")

</div>

Just wanted to say that I fixed the 502 gateway error. I just needed to restart nginx using `sudo service nginx restart`

---

_[View the full topic](https://meta.discourse.org/t/502-gateway-error-discourse-installation-with-ssl-form-cloudflare/157986)._
