Skip to content

Instantly share code, notes, and snippets.

@merltron-pa
Last active October 31, 2019 11:08
Show Gist options
  • Save merltron-pa/1b66605ec62b246d48e0d44c25d1a386 to your computer and use it in GitHub Desktop.
Save merltron-pa/1b66605ec62b246d48e0d44c25d1a386 to your computer and use it in GitHub Desktop.
NGINX Traffic Splits Article: nginx-config-snippet4.conf
if ($deliver_upstream = 'upstream_sap') {
# users should stay on the new site forever
set $cookie_lifetime '31536000'; # 60*60*24*365 = 1 year
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment