Created
May 21, 2016 17:39
-
-
Save nomasprime/b416782da630b829e01de28a032c046a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
proxied_servers = ['10.0.15.20:8484', '10.0.15.21:8484'] | |
proxied_servers.rotate!(proxied_servers.find_index(response.headers['X-Upstream-Addr'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment