Welcome! Log In Create A New Profile

Advanced

F5 irule to Nginx

Posted by Impending_doom 
F5 irule to Nginx
June 01, 2017 04:29PM
Hi folks!

Long time fan, first time caller!

I am in the middle of trying to migrate away from an F5 BigIP machine to an nginx solution.

Currently I'm stuck with the following irule:

if { [HTTP::status] contains "40" and ( [matchclass $uri ends_with $::images] )} {
log local0. "123 images redirect for status code [HTTP::status] to $uri"
HTTP::redirect "$protocol//123.domain.com/$uri"

This states the following:
- if an HTTP 40x status is returned AND the uri ends with 'images' then redirect to 123.domain.com/$uri

Any help/insight would be appreciated.

Thanks,
me
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready