# 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:** [Avril 11, 2015, 2: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:** 5

<div class="post-metadata">

**Author:** ![doudou](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@doudou](https://meta.discourse.org/u/doudou)\
**Post date:** [Avril 12, 2015, 1:29 UTC](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450/5 "2015-04-12T01:29:19Z")

</div>

If we choose plan 2, nginx on the host will allow you add other sites on the same host, but how to write conf.d/discourse.conf to reverse proxy discourse in the docker?

Should the **conf.d/discourse.conf on the host** be the same as **conf.d/discourse.conf in the docker**?

Any example?

---

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