Hi I am trying to write following rewrite url
request: www.example.com/abc/xyz?a=1&b=2
It should get response from following urlwww.example.com:8080/xyz?a=1&b=2
can some one help me to do this.
Thanks,Sandeep___
ngin
Hi,
After experimenting with some parameters I used following configuration.
upstream appcluster {server host1.example.com:8080
max_fails=1 fail_timeout=1s;server host2.example.com:8080
max_fails=1 fail_timeout=1s;}server {li
While looking at logs following message appeared:
[error] 16488#0: *80 upstream timed out (110: Connection timed out) while
connecting to upstream, client: IP, server: , request: "GET
/assets/images/transparent.png HTTP/1.1", upstream:
"http://host2.example.com:8080/assets/images/transparent.png
I have 2 upstream servers host1 and host2.
host1 is up and running and listening on port 8080host2 is powered off.
When I sent a request to nginx, I received response after 2 minutes. Until 2
minutes the request is waiting.
Thanks,Sandeep.
> To: nginx@nginx.org
> Subject: Re: RE: Nginx upstream s
#x27; from that line.
Sajan Parikh
Owner, Noppix LLC
e: sa...@noppix.com
p: (563) 726-0371
On 07/03/2013 12:37 AM, Sandeep L wrote:
@Parikh I tried with proxy_next_upstream also b
@Parikh I tried with proxy_next_upstream also but facing same issue.
Regarding fail_timeout I used values from 10s to 30s but facing same issue.
I used following configuration, just check and let me know If I am missing any
thing.
upstream appcluster { server host1.example.com:8080 max_fails=2
Hi,
I am trying to configure nginx with upstream.
We have 3 machines where we run application server and proxy passing all
requests from nginx to application serves.
I used following configuration in nginx:
upstream appcluster {
server host1.example.com:8080 max_fails=2 fa