Welcome! Log In Create A New Profile


http-request set-src without PROXY protocol

Posted by [email protected] 

i'm currently experimenting with "http-request set-src". When i use it
in a backend with PROXY Protocol configured, it's working and the IP
is written in the PROXY protocol header.

But what does "set-src" do if no PROXY Procotol is used/can be used?

Is the "http-request set-src" feature only intended for using it with
PROXY Protocol?

If not, what are the requirements when not using PROXY Protocol?


frontend fe
mode http
http-request set-header X-FakeIP
default_backend be

backend be
mode http
http-request set-src hdr(X-FakeIP)
server s1

Best Regards / Mit freundlichen Grüßen

Sorry, only registered users may post in this forum.

Click here to login