# Discourse Install 502 Bad Gateway

**URL:** <https://meta.discourse.org/t/discourse-install-502-bad-gateway/396060>\
**Category:** Self-hosting\
**Created:** [February 13, 2026, 6:20pm UTC](https://meta.discourse.org/t/discourse-install-502-bad-gateway/396060 "2026-02-13T18:20:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [February 13, 2026, 7:03pm UTC](https://meta.discourse.org/t/discourse-install-502-bad-gateway/396060/6 "2026-02-13T19:03:14Z")

</div>

> [@bloodshot\_pico](#):
>
> I thought it might be the SSL handshake but I can’t see anything from the NGINX error.log mentioning anything recently.

If you’ve got an external reverse proxy, then it should be doing the ssl stuff and not Discourse. If you’ve got the ssl and letsencrypt templates in your yml file then that could be the issue, except you said it was working before.

---

_[View the full topic](https://meta.discourse.org/t/discourse-install-502-bad-gateway/396060)._
