Forum Discussion
Hi,
before searching if the reverse proxy is able to rewrite responses, did you search if your application have a configuration solution to define reverse proxy URL?
For example, tomcat support this configuration:
you can also configure tomcat to inspect X-forwarded-proto header and insert this header in HTTP request with irule.
Sharepoint support this with Alternate access mapping...
IBM web sphere support this with following parameters:
trusthostheaderport = true
com.ibm.ws.webcontainer.extractHostHeaderPort = true
httpsIndicatorHeader = X-Forwarded-Proto
So first, look at the application documentation for reverse proxy options and add expected headers in requests to optimize F5 performances and limit rewrite issues.
For one customer, when enabling response rewriting in irules, Appliance's performance was divided by 10... a simple configuration on the application server allowed me to disable rewriting without additional CPU load on backend server.
rewriting must be used only if there is no other solution.