Skip to content

Instantly share code, notes, and snippets.

@merltron-pa
Last active October 31, 2019 11:10
Show Gist options
  • Save merltron-pa/f4735d5a38e3b88ecb76cc2a9b17b398 to your computer and use it in GitHub Desktop.
Save merltron-pa/f4735d5a38e3b88ecb76cc2a9b17b398 to your computer and use it in GitHub Desktop.
NGINX Traffic Splits Article: nginx-config-snippet7.conf
map $remote_addr $bypass_ip {
default 0;
"1.111.111.111" 1;
}
map $remote_addr $bypass_ip_to_sap {
default 0;
"22.22.22.22" 1;
"33.33.33.33" 1;
"44.44.44.44" 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment