# Success - New Multisite Install on Dedicated server using ServerPilot, Nginx and Apache

**URL:** https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108
**Category:** Self-hosting
**Created:** [April 29, 2015, 8:37pm UTC](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108 "2015-04-29T20:37:59Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Gromeen](https://avatars.discourse-cdn.com/v4/letter/g/e9a140/32.png) [@Gromeen](https://meta.discourse.org/u/Gromeen)
#### Post date: [June 26, 2015, 9:30pm UTC](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108/8 "2015-06-26T21:30:34Z")

</div>

Sorry, replied too soon and then found my answer above:

in app.yml:

```
expose:
  - "127.0.0.1:8888:80" # fwd host port 80 to container port 8888 (http)
  - "2222:22" # fwd host port 22 to container port 2222 (ssh)

```

in /etc/nginx-sp/vhosts.d/discourse.d/main.conf (renamed to main.custom.conf as [suggested](https://serverpilot.io/community/articles/customize-nginx-settings.html)):

```
location / {
    proxy_pass $backend_protocol://$backend_host:8888;
}

```

---

_[View the full topic](https://meta.discourse.org/t/success-new-multisite-install-on-dedicated-server-using-serverpilot-nginx-and-apache/28108)._
