Sounds like the browser is taking your /tree.png, and is sending something to the server that makes the handler unable to determine that you, in fact, want a static resource.
OP mentions favicon.ico not working, which Mojolicious has built-in, so even if ngnix is routing requests for static files to Mojo, at least that should work. (Unless there's something else OP isn't telling us.)
In reply to Re^2: Mojolicious-Hypnotoad-Nginx - rendering images
by haukex
in thread Mojolicious-Hypnotoad-Nginx - rendering images
by pdkakoba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |