# A better "site not available" page

**URL:** <https://meta.discourse.org/t/a-better-site-not-available-page/44826>\
**Category:** Site feedback\
**Created:** [2016 年5 月 26 日 08:52 UTC](https://meta.discourse.org/t/a-better-site-not-available-page/44826 "2016-05-26T08:52:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)\
发布日期： [2016 年5 月 26 日 08:52 UTC](https://meta.discourse.org/t/a-better-site-not-available-page/44826/1 "2016-05-26T08:52:49Z")

</div>

I just loaded this Disourse site and got this:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/c/bcdb003faab2d911794effa9dfc382a1ecf3bf71.png)

(I am not asking what happened here - I presume you were rebuilding the docker app or something, it doesn’t matter.)

My query is: How are you achieving a nice error page like this? When I rebuild the app, I just get “502 Bad Gateway / nginx”, something like

 ![](https://global.discourse-cdn.com/meta/original/3X/a/e/ae1cdaab2cf640d408921cca2f0ff0de80b4cdbf.png)

It would be very nice to have a better “site offline” message. Perhaps this isn’t the purview of Discourse (since if the app is being rebuilt, the webserver is offline, right?), but if any pointers would be appreciated. 😃

---

_[View the full topic](https://meta.discourse.org/t/a-better-site-not-available-page/44826)._
