Thanks! I have tested and this part works :) -----Original Message----- I've just committed a fix for nginx variable assignment in Lua to ngx_lua's git master HEAD. Now all the nginx variables with a set_handler is properly handled (like $args and $limit_rate).