Add prefix for asset urls

Hi,

I’ve installed discourse in a submap on my site:

/forum

And changed my nginx file:

   location /forum {
        proxy_pass http://localhost:3000/;
    }

The problem I have now is that the assets are still going to the root:

mydomain.com/assets/preload-store.js?1573218747.577625

but it should go to

mydomain.com/forum/assets/preload-store.js?1573218747.577625

How could I fix this?

Thanks a lot!

1 Like

Read the docs, Luke:

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.