# Deploying discourse on server already running another rails app

**URL:** <https://meta.discourse.org/t/deploying-discourse-on-server-already-running-another-rails-app/38467>\
**Category:** Self-hosting\
**Created:** [1월 25, 2016, 7:48오후 UTC](https://meta.discourse.org/t/deploying-discourse-on-server-already-running-another-rails-app/38467 "2016-01-25T19:48:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [1월 26, 2016, 6:41오전 UTC](https://meta.discourse.org/t/deploying-discourse-on-server-already-running-another-rails-app/38467/4 "2016-01-26T06:41:59Z")

</div>

This should work, although Apache needs additional configuration for long polling to work, if I recall correctly. Nginx is easier to setup and likely a bit faster.

---

_[View the full topic](https://meta.discourse.org/t/deploying-discourse-on-server-already-running-another-rails-app/38467)._
