I have nginx and php5-fpm set up and working to serve /var/www/index.php
as localhost/index.php
That works fine. The images on the page are not showing up however. The
images are in a folder /var/www/images
The folder has same user/group permissions as the index page
I can see an image in my file manager at /var/www/images/key.gif and
gave it 777 permission
Page source shows image should be at relative path images/key.gif
Pageinfo (Firefox) says image should be at http://localhost/images/key.gif
Typing directly in browser window http://localhost/images/key.gif gets a
404
Thanks - that got me started in the right direction. Had to set images
path in the default conf. Not something I had to do with apache as
server, still learning this nginx!
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.