# Nginx configuration for discourse

**URL:** https://meta.discourse.org/t/nginx-configuration-for-discourse/59962
**Category:** Self-hosting
**Created:** [27 مارس 2017، 12:53م UTC](https://meta.discourse.org/t/nginx-configuration-for-discourse/59962 "2017-03-27T12:53:05Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [31 مارس 2017، 6:38م UTC](https://meta.discourse.org/t/nginx-configuration-for-discourse/59962/5 "2017-03-31T18:38:57Z")

</div>

If you want to host non-Discourse sites on the same host, you’ll need to set up a reverse proxy. Simply follow [these steps](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247) to do so. In the end, you’ll have an nginx running outside of Docker to fiddle with 🙂

(Please note that Discourse and your external website should use different domains, or links from Discourse will break.)

---

_[View the full topic](https://meta.discourse.org/t/nginx-configuration-for-discourse/59962)._
