[Solved] Dev instance with nginx: topic preview not working

Thanks @mr8.

I’ve disabled all my plugins and seen no change.
I’m running a dev instance, so I believe there’s no app.yml file.

In the Chrome console, I see Discourse trying to load http://127.0.0.1:3000/assets/markdown-it-bundle.js. Of course, client-side, this url points to nothing.

This url comes from the fact that my nginx is configured like this:

server {
  ...
  server_name www.mydomain.org;
  ...
  location / {
    ...
    proxy_pass http://127.0.0.1:3000;
    ...
  }
}

i.e. http://127.0.0.1:3000/assets/markdown-it-bundle.js is an internal server-side url.

What am I missing?