Forum: NGINX How to... - nginx config to serve static files

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5c07906b49ea820a8a21161173add0b?d=identicon&s=25 Nginx Forum (Guest)
on 2009-03-14 09:40
(Received via mailing list)
From "nginx config to serve static files" at
http://forum.nginx.org/showthread.php?t=11

***************

---Quote (Originally by edogawaconan)---
the root sets the root, so when accessing 72.14.185.215/media with root
set to /var/www/media, it'll try to access /var/www/media/media
---End Quote---
Hi guys.

Thanks for replying. I'm almost there now. Now I can access the
directory, but when I access the file I get 404 again, while the file
already exists on that directory. Is there anything I need to setup?

Thanks in advance
***************

Posted by jpartogi
This topic is locked and can not be replied to.