Concatenating strings in HAProxy -
i'd have throttling rule in haproxy limits rate @ user can load particular path, don't know of way concatenate strings in haproxy (at least, in context of generating key stick table). i'd is
tcp-request content track-sc1 concat(req.cook(user), path) tcp-request content reject if {sc1_http_req_rate gt 10}
haproxy manipulate string prior map lookup suggests using regsub
similar, think can constant manipulations that.
the best i've come far track path
, req.cook(user)
separately, , reject if each of them high, isn't actual behavior i'm looking for.
Comments
Post a Comment