Forum Discussion
Reverse proxy with exceptions
We are currently using Apache as a reverse proxy to a few applications and we want to use our LTM instead as Apache is a bit of overkill for such a simpel task. The one item I can do in Apche that I can't figue out how to do in the LTM is add exceptions. For instance:
ProxyPreserveHost On
this prevents the follow URL path from being proxied
ProxyPass /static !
ProxyPass /css !
ProxyPass /js !
ProxyPass /images !
setup the proxy
Order allow,deny
Allow from all
*************** Tandem Server Port Proxy Toggle ***************************
Proxy Settings for prod_1 server instance
SetEnv proxy-nokeepalive 1
ProxyPass / http://10.1.1.100:50525/
ProxyPassReverse / http://10.1.1.100:50525/
So I know I can just set my pool to point back to the 50525 port on my hosts, but I am not sure where to start with the rest of what Apache is doing. Is this even possible on the LTM?
2 Replies
- Kevin_Stewart
Employee
Do a search on DevCentral for "proxypass". There's a great iRule that almost identically simulates Apache reverse proxy functionality. - Bubbagump_12531
Nimbostratus
Ah, excellent. Thanks! Knowing what to search for seems to be the key.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com