Hi,
Where can i find the documentation about the $slow variable ? I see it
in lot of example, but cannot find the description…
I search for a way to don’t pass through proxy if the load of the system
is high. Instead, i want to give a page “please come back later”
thx
Hello!
On Mon, Oct 12, 2009 at 04:27:56PM +0000, William Dode wrote:
Hi,
Where can i find the documentation about the $slow variable ? I see it
in lot of example, but cannot find the description…
There is no such standard variable in nginx.
Maxim D.
On Mon, Oct 12, 2009 at 04:27:56PM +0000, William Dode wrote:
Hi,
Where can i find the documentation about the $slow variable ? I see it
in lot of example, but cannot find the description…
I search for a way to don’t pass through proxy if the load of the system
is high. Instead, i want to give a page “please come back later”
You saw probably a variable, created by the geo directive:
geo $slow {
default 1;
192.168.1.0/24 0;
...
You may call this variable what you will.
On 12-10-2009, Igor S. wrote:
You saw probably a variable, created by the geo directive:
geo $slow {
default 1;
192.168.1.0/24 0;
...
You may call this variable what you will.
I saw
if ($slow) {
limit_rate 10k;
break;
}
it’s why i thought it really mean something about slow !
thx