# Setting up Discourse on a machine with existing Nginx

**URL:** https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869
**Category:** Self-hosting
**Created:** [July 2, 2019, 8:57am UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869 "2019-07-02T08:57:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 2, 2019, 11:57am UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869/2 "2019-07-02T11:57:17Z")

</div>

You can copy samples/standalone.yml.

You can edit discourse-setup to skip the test.

You can disable your web server long enough to run discourse-setup.

Getting discourse working is the easiest part of the advanced configuration that you are attempting.

Have a look at [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247). I believe there is another nginx specific topic.

---

_[View the full topic](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869)._
