Ah, thanks, map{} is probably the best solution. We got it "working" by
using rewrite_by_lua_file, which let us set new headers:
# Set an HTTP header that is read by conn_zone
rewrite_by_lua_file user.lua;
limit_conn_zone $http_user_binary ...;
Then in the lua file, add something lik
Hello!
On Tue, May 21, 2013 at 12:31:05PM -0700, Kevin Burke wrote:
> Hi,
> We're trying to use the limit_conn_zone directive to throttle incoming
> HTTP requests.
>
> We'd like to throttle based on the http basic auth variable
> ($remote_user), however, we must do processing on this value so th
Hi,
We're trying to use the limit_conn_zone directive to throttle incoming
HTTP requests.
We'd like to throttle based on the http basic auth variable
($remote_user), however, we must do processing on this value so the
zone does not overflow with illegitimate values. Ideally we'd want to
do somethi