Forum Discussion

Sanal_Babu's avatar
Sanal_Babu
Icon for Nimbostratus rankNimbostratus
Apr 09, 2018

HTTPS VIP and HTTP pool members

I have configured a VIP with port 443 and pool members on port 80. SSL client profile is attached with 443 VIP . Also iRule has been attached to 80 VIP for http to https redirection. The Home page appears perfectly but after login to the portal , the page cannot be displayed error popups. Lets say the user trying with which redirects to https://abc.com/login and home page appears. Upon entering credentials, the url goes to https://abc.com/loginface.htm and display error. It works fine http://abc.com/loginface.htm

 

Does this issue with the url redirect in application with https port ?

 

Thoughts.

 

3 Replies

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Looks like it's a redirect loop. Your backend application is not aware that it is behind a load-balancing device accepting HTTPS traffic, and is redirecting the user to , which in turn, via the irule, redirects back to .

     

    Try and modify your http profile, and add "X-Forwarded-Proto: https" to the field " Request Header Insert". This will notify your application to use HTTPS in its self-referencing URL it creates. But this depends on the application understanding the header.

     

    You can also enable "Redirect Rewrite" in your HTTP profile, which will fix this redirect issue.