Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Whitelist IP addresses with split_traffic

$
0
0
Hi,

I have an issue with a/b testing setup. I'm splitting traffic based on $remote_addr and setting up a cookie to ensure the user is always going to the site it was chosen for him.

My problem is that I want clients coming from certain IP addresses to go to a certain version of the site, but it doesn't seem to work as expected. I have attached the configuration files for reference.

Is there a way I can achieve this?

Thanks.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>