Hi Guys
I just moved from Mamp after 10 years to Local and loving it
I have followed the instructions on this page to set up http auth and they work perfectly.
I would like to allow certain IP’s to bypass HTTP Auth. I have tried the below to no avail as auth is still requested?
Can you advise where I am going wrong?
location / {
#auth check - satisfy if ip or key match
satisfy any;
allow 192.168.0.1/24;
allow 162.23.23.54;
allow 127.0.0.1; --> This rule allows not just local but all traffic to bypass which is a little odd?
deny all;
auth_basic "Please log in to view development site";
auth_basic_user_file /pathto/.htpasswd";