// AZURE / NGINX
Azure · Nginx
Nginx allow/deny config for Azure. Drop into your server block or http context. 95,335 CIDRs, refreshed daily.
// nginx_azure_allow.conf
# Azure IP Ranges # Updated: 2026-08-26 02:36:08 # 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/11; allow 4.192.0.0/10; allow 9.129.0.0/16; allow 9.141.0.0/16; allow 9.160.0.0/16; allow 9.163.0.0/16; allow 9.169.0.0/16; allow 9.205.0.0/16; allow 9.223.0.0/16; allow 9.234.0.0/15; allow 13.64.0.0/13; allow 13.72.64.0/18; allow 13.72.192.0/18; allow 13.73.0.0/18; … (2134 more lines)
// nginx_azure_deny.conf
# Azure IP Ranges # Updated: 2026-08-26 02:36:09 # 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/11; deny 4.192.0.0/10; deny 9.129.0.0/16; deny 9.141.0.0/16; deny 9.160.0.0/16; deny 9.163.0.0/16; deny 9.169.0.0/16; deny 9.205.0.0/16; deny 9.223.0.0/16; deny 9.234.0.0/15; deny 13.64.0.0/13; deny 13.72.64.0/18; deny 13.72.192.0/18; deny 13.73.0.0/18; … (2134 more lines)