So is "rewrite_by_lua" also evil?

Nginx User nginx at nginxuser.net
Fri Oct 14 19:25:48 UTC 2011


On 14 October 2011 22:24, Nginx User <nginx at nginxuser.net> wrote:
>      location ~ ^.+\.php$ {
>              content_by_lua 'ngx.exec("@proxy");';
>      }
That should read

      location ~ ^.+\.php$ {
              rewrite_by_lua 'ngx.exec("@proxy");';
      }



More information about the nginx mailing list