Nginx configuratiun trouble

VKurennov@gmail.com vkurennov at gmail.com
Tue Apr 12 16:27:41 MSD 2011


Hi all!

I'm using nginx and passenger for ruby on rails application.

I need non standard path to my application.

For now i'm use subdomains:

server {
       listen 80;
       server_name app.server.com;

       root "/home/deployer/hayemaker/app/current/public";
       passenger_enabled on;
}

It's work great, and i can access to my app through http://app.server.com.
But I need access also through http://app.server.com/hayemaker. It's
URL should point to the same app.server.com.

How can I do it? Help please

Thanks,
Vitaly




More information about the nginx mailing list