Is using iRule a good practice?
Hi, In one of our app deployments, We are using a F5 load balancer with SSS offloading. We have created an iRule in F5 LB to rewrite all HTTP rediect urls(receieved by LB in HTTP response from application) with HTTPS. Our data center provider has suggested that using iRule is a workaround & not a standard practice and we should avoid these. Is it true that iRules is not a good practice and should be avoided with F5? Can someone through some light on Pros/Cons of iRules?
We are currently using iRule to handle only http redirects issued by application. As I mentioned above that we are SSL offloading with F5 means that browser sends request to LB over HTTPS, LB then offloads HTTPS and forwards request to one of the app server over HTTP, Hence application on app server receives request over HTTP so it creates redirect urls(in few flows only) using HTTP and sends back in response with HTTP code 302. So at F5 using iRule we are rewriting HTTP url with HTTPS url before passing the redirect response to Browser. This iRule is being specifically applied only to HTTP responses with redirect header which are very less(less than .5% of total requests serverd).
My understanding is that using iRule is a standard solution and for scenarios like above, it shouldn't have any negative implications. Please suggest.
Thanks in Advance.