Skip to content

Instantly share code, notes, and snippets.

@merltron-pa
Last active October 31, 2019 11:09
Show Gist options
  • Save merltron-pa/0506afa1cb3bf3b846c3168c1e2f613d to your computer and use it in GitHub Desktop.
Save merltron-pa/0506afa1cb3bf3b846c3168c1e2f613d to your computer and use it in GitHub Desktop.
NGINX Traffic Splits Article: nginx-config-snippet6.conf
add_header Set-Cookie "migration_split=$deliver_upstream;Path=/;Max-Age=$cookie_lifetime;";
proxy_pass https://$deliver_upstream;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment