nginx to white-list ip or ask for password
Let, you want to protect a page or any site in nginx by certain IP addresses access only. How would you do it in nginx? I will discuss some cases here about the situation.
You can give access to certain IP’s only by using:
allow 192.168.100.10;