Hi Jason.
Am Wed, 10 May 2017 21:02:36 -0700
schrieb Jason Bronnx :
> Hi,
>
> Tried to search on this for a couple of hours, but had no luck,
> hoping you guys can help.
>
> I have a use case, that I need to proxy the request to server-A
> first, then if returns 200, then it'll query server-B a
Hi,
Tried to search on this for a couple of hours, but had no luck, hoping you
guys can help.
I have a use case, that I need to proxy the request to server-A first, then
if returns 200, then it'll query server-B and return that result. If it
returned != 200, just return 404. Something like this
Michael, itpp2012, Francis,
My apologies for the terribly short reply, but I wanted to go ahead and
reply back and thank you for the detailed responses. I've looked over
them briefly and plan to go back over them in detail soon.
The takeaway appears to be that the best results come from a web
Hello!
On Wed, May 10, 2017 at 05:40:55PM -0700, Robert Paprocki wrote:
> > It is the number of keepalive connections to be cached for the
> > whole upstream{} block, that is, all servers.
>
> Can we clarify the behavior for upstreams with duplicate server directives?
> Consider the following
>
>
>
> It is the number of keepalive connections to be cached for the
> whole upstream{} block, that is, all servers.
>
Can we clarify the behavior for upstreams with duplicate server directives?
Consider the following
upstream foo {
server 1.2.3.4:80;
server 5.6.7.8:80;
keepalive 32;
}
upstr
Hello,
On Wed, May 10, 2017 at 03:33:26PM +, Alexander Chekalin wrote:
> Hello,
>
> I’ve set up nginx with nginx-rtmp-module as a NGINX-based Media Streaming
> Server, and it works fine, but now I try to get stats for this server.
>
> General approach is to use
>
> location /stat { rtmp
Добрый день,
On Wed, May 10, 2017 at 12:04:39PM -0400, metalfm1 wrote:
> Приветствую!
>
> Директива fastcgi_cache_background_update странно ведёт себя при ssi
> подзапросах.
> Есть сервис со сложной бизнес логикой, главная страница загружается 1 сек,
> стек nginx + php-fpm. В ходе оптимизации ско
Приветствую!
Директива fastcgi_cache_background_update странно ведёт себя при ssi
подзапросах.
Есть сервис со сложной бизнес логикой, главная страница загружается 1 сек,
стек nginx + php-fpm. В ходе оптимизации скорости загрузки было решено
вынести генерацию самого долгого куска страницы в отдельн
Hello,
I’ve set up nginx with nginx-rtmp-module as a NGINX-based Media Streaming
Server, and it works fine, but now I try to get stats for this server.
General approach is to use
location /stat { rtmp_stat all; }
which produce xml that can be parsed nicely, but my suspicions are that I got
Francis -
Yes, I am realizing that is a nightmare going against the trailing-slashed
directory nature. So I am going to have this rule take off slashes from
anything but directories. Do you have any suggestions as how to do it, but
without "if"
Thank you so much!
Alex
Posted at Nginx Forum:
Steve -
You are right something else is adding a trailling slash to directories. Is
there a way to configure nginx to remove trailing slashes from everything
except from directories?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,273964,274132#msg-274132
Hello!
On Wed, May 10, 2017 at 10:27:16PM +0800, Wu Bingzheng wrote:
> Maybe you miss something in Question 2. The server 192.168.0.5 never fails.
> I think nginx should not return 502 if there is at least one server never
> fails.
> Exactly speaking, the server never fails in the last 1 hour an
Thanks for the answer.
Maybe you miss something in Question 2. The server 192.168.0.5 never fails.
I think nginx should not return 502 if there is at least one server never fails.
Exactly speaking, the server never fails in the last 1 hour and the
fail_timeout is the default 10 second.
>> Que
Hello!
On Wed, May 10, 2017 at 04:26:06PM +0800, Wu Bingzheng wrote:
> I have an upstream configure with Nginx 1.8.1 :
>
> upstream test {
> server 192.168.0.5;
> server 192.168.0.6;
> }
>
> Question 1:
> Assume both of the 2 servers are down.
> First request tries both of t
Hello!
On Mon, May 08, 2017 at 04:24:59AM -0400, fengx wrote:
> As known, the keepalive directive can activate the connections cache for
> upstream servers. I know the connection pool is in each worker process. But
> I'ms confused that the connection number is for each upstream server or is
> sha
Hi all,
I have an upstream configure with Nginx 1.8.1 :
upstream test {
server 192.168.0.5;
server 192.168.0.6;
}
Question 1:
Assume both of the 2 servers are down.
First request tries both of them and fails, and response 502. Nginx marks both
of them as DOWN. This is OK.
Se
16 matches
Mail list logo