Last active
October 31, 2019 11:09
-
-
Save merltron-pa/7c6fe7038ae4e70ccd9e04856cfc102d to your computer and use it in GitHub Desktop.
NGINX Traffic Splits Article: nginx-config-snippet5.conf
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
# overwrite the upstream by appending "?force_upstream=oldcms" to the URL | |
map $arg_force_upstream $deliver_upstream { | |
default $chosen_upstream; | |
"oldcms" "upstream_cms_old"; | |
"sap" "upstream_sap"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment