Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Mojolicious-Hypnotoad-Nginx - rendering images

by talexb (Chancellor)
on Apr 15, 2021 at 13:35 UTC ( #11131331=note: print w/replies, xml ) Need Help??

in reply to Mojolicious-Hypnotoad-Nginx - rendering images

    The welcome.html.ep has this simple addition: <img src="/tree.png" alt="tree">.

Hmm .. have you tried removing the leading slash? Failing that, see what the web logs say.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^2: Mojolicious-Hypnotoad-Nginx - rendering images
by Anonymous Monk on Apr 15, 2021 at 14:40 UTC
    When diagnosing any situation like this, start with the browser's debugging features. Use the "Network" panel to see what is actually requested and what the reply code is. Look in the console logs. If necessary, use a network analyzer like "tcpdump" or better-yet "wireshark" to trace what is actually going on until you find the root cause of the problem. Do the server logs show that the request actually arrived? And, so on.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131331]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-05-23 12:11 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.