Created
March 29, 2018 21:52
-
-
Save urjitbhatia/db99b53af279e16832111cf372303533 to your computer and use it in GitHub Desktop.
haproxy send a percentage of traffic
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
# send 10% traffic | |
http-request set-header Host foo.bar.com if { rand(10) eq 0 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment