Forum Discussion
Nginx to F5
Hi,
we have nginx in our environment .we want to migrate to f5 for the below confiuration , can i have sample irule for that .
NGINX CONFIURATION subs_filter_types text/css text/xml text/javascript application/javascript;
subs_filter example.com example1.com;
can i anyone help on that
thanks
- Faruk_AYDIN
Nimbostratus
Hi guy,
1-) add a stream profile to your VS 2-) add the following irule to your VS.when HTTP_REQUEST { STREAM::disable HTTP::header remove "Accept-Encoding" } when HTTP_RESPONSE { switch -glob [string tolower [HTTP::header value Content-Type]] { "text/css" - "text/xml" - "text/javascript" - "application/javascript" { STREAM::expression {@example.com@example1.com@} STREAM::enable } } }
- Mahendra_383208
Nimbostratus
Hi
what is the meaning of nginx -proxy pass reverse . Need to convert to f5 . i dont have much information .
thanks
- Faruk_AYDIN
Nimbostratus
proxy_pass is generally used to distribute the load among several servers like pool members of a pool in F5.
- Mahendra_383208
Nimbostratus
proxy_pass reverse ?
- Faruk_AYDIN
Nimbostratus
I think it is better to open new thread for this.
- Mahendra_383208
Nimbostratus
Apache config Set the ProxyPassReverse / ->
this need to convert to f5 .
Thanks
- Faruk_AYDIN
Nimbostratus
Use this iRule:
when HTTP_REQUEST { HTTP::header replace "Host" "example2" }
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