Last active
October 31, 2019 11:08
-
-
Save merltron-pa/1b66605ec62b246d48e0d44c25d1a386 to your computer and use it in GitHub Desktop.
NGINX Traffic Splits Article: nginx-config-snippet4.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
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