Hello everyone,
I have a sinatra application (geminabox) that stores files in the public folder, the one specified by the root directive in the nginx configuration, which looks like this:
server {
listen 80;
passenger_enabled on;
}
Inside of the public directory there is another directory (called "gems") that contains different files. The problem that I have is that whenever I hit a url like "
myapp.com/gems/my_gem.gem" nginx/passenger attends the request and serves the file, but what I would like the request to be handled by sinatra itself.
Is there a way to tell passenger not to serve a specific static file (or directory) that is contained in the public folder?
Thank you very much,
Alex