Forum Discussion
Mahendra_383208
Nimbostratus
Feb 09, 2019Nginx 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/ja...
Faruk_AYDIN
Altostratus
Feb 09, 2019Hi 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
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects