Created
September 18, 2014 16:02
-
-
Save cturra/c9338b6931ec2e5d3f13 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
$host = http.getHostHeader(); | |
$path = http.getPath(); | |
if (string.containsI($host, "aus3.mozilla.org")){ | |
if ( | |
string.containsI($path, "/beta/") || | |
string.containsI($path, "/beta-localtest/") || | |
string.containsI($path, "/beta-cdntest/") | |
){ | |
pool.select("aus4-prod-https"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment