How to... - nginx config to serve static files

From “nginx config to serve static files” at

—Quote (Originally by edogawaconan)—
the root sets the root, so when accessing 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs