Welcome! Log In Create A New Profile

Advanced

Nginx configuratiun trouble

VKurennov@gmail.com
April 12, 2011 08:30AM
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


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx configuratiun trouble

VKurennov@gmail.com April 12, 2011 08:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready