If you go to http://myserver/images/phoenix.png does it load? If not then in your project does priv/static/images/phoenix.png exist? If not then do your assets exist and can you compile them? What is your complete and entire build and run log?
No I get: Page not found
I do have: assets/static/images/phoenix.png and
priv/static/images/phoenix.png
as well as
priv/static/images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png
The manifest also contains: images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png
…
css ist working…
If you have this and it is requesting /images/phoenix.png then either your static plug is misconfigured (which if it is not touched then it is not) or a front-loader is misconfigured?
Can you upload a complete reproduceable example with detailed steps to perform so we can give it a try ourselves? This sounds odd.
Wait you aren’t running distillery via mix release?
You don’t need assets when uploading, priv contains all the assets already built up. Distillery handles that already.
Yeah you should never need to do that on your ‘prod’ box, distillery builds self-contained ready-to-run setups (or any other release system like epmd or so, just always do a release for a proper release though).
Uh, your base path is not /? That is why /images does not exist, it is not matching your base path. You may need to either fixup your config to know about it (so it generates using the proper paths), or you’ll need to have nginx test ‘all’ paths to the phoenix server before passing them on to whatever might have it later. This looks like it will be a path or nginx configuration issue rather than a phoenix issue.