Right. This is helpful when the logical is complicated. ACL might not be
enough in that case.

Can I get some feedback from LUA experts?
Thanks!

Best,
Bowen

On Mon, Jul 13, 2015 at 12:17 AM, Baptiste <[email protected]> wrote:

> On Mon, Jul 13, 2015 at 7:22 AM, Bowen Ni <[email protected]> wrote:
> > Hi,
> >
> > With Lua integration in HAProxy 1.6, one can change the request method,
> > path, uri, header, response header etc except response line.
>
> Hi Bowen,
>
> You can already change the fields above using HAProxy 1.6 statements:
> http-request and http-response.
>
> http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#http-request
>
> http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#http-response
>
> You don't need lua for this, unless your changes are complicated and
> you can find a converter which does the transformation you need:
>
> http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#7.3.1
>
>
> > I'd like to contribute the following methods to allow modification of the
> > response line.
>
> Actually, that's right, HAProxy, there are currently no "http-response
> set-return-code" in haproxy.
>
> I let the LUA experts answer you on the rest of the mail :)
>
> Baptiste
>

Reply via email to