Think about Loose Coupling | |
PerlMonks |
Re^2: Mojolicious-Hypnotoad-Nginx - rendering imagesby haukex (Archbishop) |
on Apr 15, 2021 at 18:23 UTC ( [id://11131345]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|