(before I forget, I was unable to login via any openid provider in trac.nginx.org, it may be broken)
Technically this is not a bug but a feature request.
Apparently keepalive_timeout and keepalive_requests can only take fixed values and dynamic variables.
ie. the last two lines of this currently fail in 1.25 with "invalid value" but I'd love it to work:
map $scheme $keepTimeout {
default 10;
http 10;
https 60;
}
map $scheme $keepRequests {
default 100;
http 100;
https 500;
}
keepalive_timeout $keeptimeout;
keepalive_requests $keepRequests;
# keepalive_timeout directive invalid value in nginx.conf
If anyone can post in trac and feels this is worthy, please feel free to copy it there.
Edited 1 time(s). Last edit at 11/29/2012 10:14AM by _ck_.