Using F5 instead of nginx for reverse proxy
Hello All,
We're doing an implementation of a product and the vendor has a deployment guide for using nginx however I've been asked to convert the nginx configuration to the F5 instead.
I'm not entirely familiar with nginx so I want to make sure that I understand how to do this properly based on the configuration they've given.
I've taken parts of the configuration guide they've provided and attached them below as well as my interpretation of the instructions as to how the F5 will handle it.
For example, a request to <>/Portal/Guest/Login.htm is sent to the backend as a request for http://<>/Guest/Login.htm. The header "Host: Portal" is added to the backend request replacing the original “Host: www.<>" header.
I believe that much of this behaviour is accomplished by default on the F5. For example converting from https to http can be done with ssl offloading and a client-ssl profile. The forwarding to the internal web server name is simply the way the f5 forwards traffic to the appropriate pool I think?
The part that I'm not sure how best to implement is the removing of /Portal/ from the URI and replacing the host header with Portal (there are also about 10 other applications that I will need to do this for.
My initial thought is to use a Policy to match the host header and uri path and rewrite them?
For example :
Will this work? Or do I need to add more info to remove /Portal/ from the path in the actions section?