On Mar 13, 2014, at 11:09 , SplitIce wrote:
> Has anyone put any thought into the possibility of a $binary_server_addr variable?
>
> Sometimes its quite useful to limit certain events by server_addr instead of the client address (e.g to limit requests made by certain UA's or other events).
You can use $server_addr. The binary form of $remote_addr saves memory since there is a lot of remote addresses.
The number of server addresses is much less so there is no sense to introduce another variable.
--
Igor Sysoev
http://nginx.com
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel