nginx rewrites $request_method on error

Yichun Zhang (agentzh) agentzh at gmail.com
Thu May 8 19:28:19 UTC 2014


Hello!

On Wed, May 7, 2014 at 8:59 PM, kay wrote:
>> 1. It is not recommended to use the rewrite_by_lua directive directly
>
> You can do the same with access_by_lua
>

Please do not cut my original sentence and just pick the first half.
The full sentence is "it is not recommended to use the rewrite_by_lua
directive directly in the server {} block." and the reason follows
that. The same statement also applies to access_by_lua.

Also, please read the full text of my previous email and correct all
the things I listed there.

Regards,
-agentzh



More information about the nginx mailing list