# Nginx / letsencrypt / docker -- Ubuntu 16.04

**URL:** <https://meta.discourse.org/t/nginx-letsencrypt-docker-ubuntu-16-04/77926>\
**Category:** Self-hosting\
**Created:** [2018年一月13日 10:11 UTC](https://meta.discourse.org/t/nginx-letsencrypt-docker-ubuntu-16-04/77926 "2018-01-13T10:11:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dbm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dbm/32/86954_2.png) [@dbm](https://meta.discourse.org/u/dbm)\
**Post date:** [2018年一月13日 13:26 UTC](https://meta.discourse.org/t/nginx-letsencrypt-docker-ubuntu-16-04/77926/6 "2018-01-13T13:26:26Z")

</div>

@itsbhanusharma Thanks, for replying. Gonna try it asap. Keeping this updated

@pfaffman - no, only Discourse

SOLUTION

> [@Add an offline page to display when Discourse is rebuilding or starting up](https://meta.discourse.org/t/adding-an-offline-page-when-rebuilding/45238):
>
> warning This guide is intended for advanced users, who are already using nginx outside the docker container. By following this guide you make your setup more complicated and will lose some speed benefits like HTTP2 if you’re not running Ubuntu 16.04 or later. Proceed with caution! When Discourse is rebuilding or starting up, your users will usually either see an error message from their browser… …or a not-so-nice 502 error message from Nginx: If you’re a perfectionist …

@itsbhanusharma, @pfaffman - thanks both for help and your time. Highly appreciate it!

Also, special thanks to @fefrei

Cheers! 🙂

---

_[View the full topic](https://meta.discourse.org/t/nginx-letsencrypt-docker-ubuntu-16-04/77926)._
