Last active
April 8, 2016 19:31
-
-
Save flexgrip/0e75e763810f2e56dda6a38b135a53c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when HTTP_REQUEST { | |
if { [string tolower [HTTP::host]] equals "leadpages.net"}{ | |
HTTP::respond 301 Location "https://www.leadpages.net[HTTP::uri]" | |
} | |
if { [string tolower [HTTP::uri]] starts_with "/blog" }{ | |
node 104.193.18.59 | |
} | |
if { [string tolower [HTTP::uri]] starts_with "/library" }{ | |
node 104.193.18.64 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment