Hashes / Arrays für $arg_PARAMETER

Maik Unger lists at ruby-forum.com
Wed Jul 24 20:29:52 UTC 2013


Hello @all,

Is it possible to define array / hashes in nginx? I have the following
idea:

nginx should check $arg_PARAMETER which is defined by an array. If the
right element in the array, then die access is permitted, otherwise
denied.

example:

the $arg_PARAMETER can have the following values:

"ab" or "bc" or cd"

if $arg_PARAMATER != array -> Access is denied, otherwise permitted

I would appreciate about a solution.

Regards,

Maik

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list