# Is it necessary to install nginx in front of docker?

**URL:** https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450
**Category:** Self-hosting
**Created:** [11 april 2015 om 14:01 UTC](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450 "2015-04-11T14:01:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [11 april 2015 om 14:17 UTC](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450/2 "2015-04-11T14:17:46Z")

</div>

You need a web server on the host to serve Discourse in the container, even though nginx is installed in the container too. Nginx is suggested for the host too.

As for your plans, [check out this post I made about this subject](https://meta.discourse.org/t/help-understanding-the-structure-of-using-discourse-static-website/25557/4). Included is a ready-made nginx server block file.

---

_[View the full topic](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450)._
