Nginx Basic Authentication with Source IP Whitelisting

Quick post on how to setup HTTP Basic Authentication and whitelist IP Based Sources to not get prompted for Authentication. This could be useful for systems interacting with Nginx, so that they don't have to provide authentication. #carbonads { font-family: -apple-system,

Close You've successfully subscribed to Sysadmins.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.
Close Success! Your billing info is updated.
Close Billing info update failed.