Nginx Ip Whitelist

Posted by Will on Server Fault See other posts from Server Fault or by Will
Published on 2012-12-17T16:44:49Z Indexed on 2012/12/17 17:04 UTC
Read the original article Hit count: 305

Filed under:

Is it possible to create a ip whitelist for my nginx proxy server without adding allow or deny in the config file is it possible i can get nginx to link to a separate database to check if the user is allowed to access the website .

Ideally i could do with nginx linking to an external database or at minimum a list off allowed ips on the same server so i can easily update the list whit out restarting nginx every time.

In the future i would like to link nginx to my website and a user will login and there ip will be linked to there account and they will be able to update there ip if it has changed to there new one to grant them access so i need to keep in mind that it would be easyer to do this if i have external list off ips in some kind off database

any help is apreshiated

© Server Fault or respective owner

Related posts about nginx