# Fresh install does not work

**URL:** <https://meta.discourse.org/t/fresh-install-does-not-work/78754>\
**Category:** Self-hosting\
**Created:** [January 23, 2018, 12:49pm UTC](https://meta.discourse.org/t/fresh-install-does-not-work/78754 "2018-01-23T12:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![romdos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romdos/32/54307_2.png) [@romdos](https://meta.discourse.org/u/romdos)\
**Post date:** [January 23, 2018, 2:19pm UTC](https://meta.discourse.org/t/fresh-install-does-not-work/78754/7 "2018-01-23T14:19:29Z")

</div>

I’m running a similar setup (behind an nginx proxy), but in my `app.yml` I’m using the `web.template.yml` and `web.ratelimited.yml` template (which you have listed twice), but not the `web.socketed.template` template. Also I’ve un-commented the `expose:` block, and set discourse’s ports manually:

```
templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
## - "templates/web.ssl.template.yml"
## - "templates/web.letsencrypt.ssl.template.yml"
## - "templates/web.socketed.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
expose:
  - "8080:80"
  - "444:443"

```

---

_[View the full topic](https://meta.discourse.org/t/fresh-install-does-not-work/78754)._
