Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Whitelisting IPs from Certificate Based Authentication (no replies)

$
0
0
Hi

We have a Certificate Based Authentication for one of our websites.

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.

What would be the ideal way of doing this ?

I believe $remote_addr can play role in this.


*My current sample Nginx config :*-

server
{
listen 80;

ssl_client_certificate /backup/ca.crt;
ssl_verify_client on;

location /
{
root /var/www/html;
index index.html;
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



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