wballard / starphleet

19 stars 37 forks source link

Support App Beta Cookies #272

Closed bhudgens closed 9 years ago

bhudgens commented 9 years ago

Allow the redirect for a service to be set by a cookie. For instance:

User will silently get redirected from /serviceName to /betaName

This implementation may seem counter intuitive. It works around NGINX not supporting hyphens in the $cookie variable inside rewrite rules. The $cookie variable with hyphens does work within an if condition. More details here:

http://bit.ly/1UQuC67