# Blank Page After installing Discourse on Subfolder

**URL:** <https://meta.discourse.org/t/blank-page-after-installing-discourse-on-subfolder/96112>\
**Category:** Self-hosting\
**Created:** [August 31, 2018, 7:18pm UTC](https://meta.discourse.org/t/blank-page-after-installing-discourse-on-subfolder/96112 "2018-08-31T19:18:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [August 31, 2018, 8:59pm UTC](https://meta.discourse.org/t/blank-page-after-installing-discourse-on-subfolder/96112/6 "2018-08-31T20:59:23Z")

</div>

Here’s some other yml I’ve used. Yours is missing the assets precompile:

```yml
  - exec:
      cd: $home
      cmd:
        - rm -fr public/assets
        - sudo -E -u discourse bundle exec rake assets:precompile
        - mkdir -p public/community
        - cd public/community && ln -s ../uploads && ln -s ../backups
  - replace:
     global: true
     filename: /etc/nginx/conf.d/discourse.conf
     from: proxy_pass http://discourse;
     to: |
        rewrite ^/(.*)$ /community/$1 break;
        proxy_pass http://discourse;
  - replace:
     filename: /etc/nginx/conf.d/discourse.conf
     from: etag off;
     to: |
        etag off;
        location /community {
           rewrite ^/community/?(.*)$ /$1;
        }

```

---

_[View the full topic](https://meta.discourse.org/t/blank-page-after-installing-discourse-on-subfolder/96112)._
