Conditional location in nginx based on try_files.

In case you need couple of version of application running on single domain, for user hidden-testing purpose, or hidden A/B testing, or in case you need implementation of a sticky cookie in your balancing configuration.

You may use this example:

Like what you read? Give AlekseyL a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.