# Install on machine with existing Nginx and SSL

**URL:** <https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153>\
**Category:** Self-hosting\
**Created:** [2016 年8 月 24 日 16:47 UTC](https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153 "2016-08-24T16:47:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2016 年8 月 24 日 17:18 UTC](https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153/4 "2016-08-24T17:18:04Z")

</div>

Ok, now it’s clear.

Try to edit app.yml and change the expose port from 80 to something like 6789. Then rebuild.

Then nginx upstream must proxy to that port.

---

_[View the full topic](https://meta.discourse.org/t/install-on-machine-with-existing-nginx-and-ssl/49153)._
