localhost path to images directory

Francis Daly francis at daoine.org
Mon Nov 21 19:55:25 UTC 2011


On Mon, Nov 21, 2011 at 02:21:03PM -0500, bizshop wrote:

Hi there,

> That works fine. The images on the page are not showing up however. The
> images are in a folder /var/www/images

> Typing directly in browser window http://localhost/images/key.gif gets a
> 404

The error log probably tells you what file nginx failed to find.

Do you have "root /var/www;" in the server{} block, outside of all
location{}s?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list