Welcome! Log In Create A New Profile

Advanced

[LB]Bad root document set via proxy_pass

May 30, 2013 12:14PM
Hello everybody,

I am using several instances of Nginx (1.4.1). One as a LoadBalancer and the others to host rails applications (using module passenger).

Depending of the url, I forward to the proper backend:
location /<myApp> {
proxy_pass http://<myApp>_cluster;
}

But via the proxy, the web page of my application is not correctly render. The path to load images files is incorrect and point to the default root document location.

Direct access to my application is fine so I guess I miss something in the load balancer configuration but what ?
Before that when I didn't need to precise the url in the location directive, it worked fine via the load balancer as well.

Cheers,
Mat.
Subject Author Posted

[LB]Bad root document set via proxy_pass

mafious May 30, 2013 12:14PM

Re: [LB]Bad root document set via proxy_pass

Francis Daly June 01, 2013 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 7 on October 18, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready