<div dir="ltr">Hi<div><br></div><div>We have a Certificate Based Authentication for one of our websites.</div><div><br></div><div>We want that if users visit from Office IP's then they should not have to go via Certificate Based Authentication. Rest for all, Authentication is necessary.</div><div><br></div><div>What would be the ideal way of doing this ?</div><div><br></div><div>I believe $remote_addr can play role in this.</div><div><u><br></u></div><div><u><br></u></div><div><u>My current sample Nginx config :</u>-</div><div><br></div><div><div>server</div><div>{</div><div>    listen          80;</div><div><br></div><div>    ssl_client_certificate /backup/ca.crt;</div><div>    ssl_verify_client   on;</div><div><br></div><div>    location /</div><div>    {</div><div>     root /var/www/html;</div><div>     index index.html;</div><div> }</div></div><div><br></div></div>