Welcome! Log In Create A New Profile

Advanced

http-request set-src without PROXY protocol

Posted by [email protected] 
Hi,

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?


Example:

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

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



----------------------------------------------------------------
Best Regards / Mit freundlichen Grüßen

Bjoern
Sorry, only registered users may post in this forum.

Click here to login