Welcome! Log In Create A New Profile

Advanced

Whitelist IP addresses with split_traffic

Posted by ogden2016 
Whitelist IP addresses with split_traffic
April 11, 2016 09:14AM
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.
Attachments:
open | download - vhost.conf (1 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready