Forum Discussion

zhaleh's avatar
zhaleh
Icon for Nimbostratus rankNimbostratus
May 31, 2018

Redirection and xforwarded-for

Hello

 

When use redirection http to https,There is no way to see the x-forwardedfor on the web server. Also before redirection it was possible to see the x-forwarded for on the web server.

 

2 Replies

  • Hi,

    In https virtual server check that http profile use on it, you have set "Insert X-Forwarded-For" to enabled.

    or you can use this irule:

    when HTTP_REQUEST {
    
    HTTP::header insert X-Forwarded-For [IP::client_addr] 
    
    }
    

    But try firts with HTTP profile.

    You confirm that you process interception on your HTTPS VS? in fact you use ssl client with http profile...

    Regards

    Regards