// AZURE / NGINX
Azure · Nginx
Nginx allow/deny config for Azure. Drop into your server block or http context. 106,887 CIDRs, refreshed daily.
// nginx_azure_allow.conf
# Azure IP Ranges # Updated: 2026-07-11 03:11:12 # Source: https://github.com/rezmoss/cloud-provider-ip-addresses # License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE # This file is generated automatically. Do not edit it directly. # Updates daily at 02:00 UTC # To restrict access to only these IPs in nginx, # add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default): # include /path/to/nginx_azure_allow.conf; allow 4.144.0.0/12; allow 4.160.0.0/12; allow 4.176.0.0/13; allow 4.184.0.0/20; allow 4.184.56.0/21; allow 4.184.64.0/18; allow 4.184.128.0/17; allow 4.185.0.0/16; allow 4.186.0.0/15; allow 4.188.0.0/14; allow 4.192.0.0/13; allow 4.200.0.0/15; allow 4.202.0.0/16; allow 4.203.0.0/17; allow 4.203.128.0/19; … (4573 more lines)
// nginx_azure_deny.conf
# Azure IP Ranges # Updated: 2026-07-11 03:11:13 # Source: https://github.com/rezmoss/cloud-provider-ip-addresses # License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE # This file is generated automatically. Do not edit it directly. # Updates daily at 02:00 UTC # To deny access from these IPs in nginx, # add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default): # include /path/to/nginx_azure_deny.conf; deny 4.144.0.0/12; deny 4.160.0.0/12; deny 4.176.0.0/13; deny 4.184.0.0/20; deny 4.184.56.0/21; deny 4.184.64.0/18; deny 4.184.128.0/17; deny 4.185.0.0/16; deny 4.186.0.0/15; deny 4.188.0.0/14; deny 4.192.0.0/13; deny 4.200.0.0/15; deny 4.202.0.0/16; deny 4.203.0.0/17; deny 4.203.128.0/19; … (4573 more lines)