// AZURE / NGINX
Azure · Nginx
Nginx allow/deny config for Azure. Drop into your server block or http context. 105,909 CIDRs, refreshed daily.
// nginx_azure_allow.conf
# Azure IP Ranges # Updated: 2026-11-18 02:17: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 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/14; allow 4.148.0.0/15; allow 4.150.0.0/18; allow 4.150.64.0/21; allow 4.150.72.0/22; allow 4.150.76.0/23; allow 4.150.78.0/27; allow 4.150.78.32/30; allow 4.150.78.36/31; allow 4.150.78.40/29; allow 4.150.78.48/28; allow 4.150.78.64/26; allow 4.150.78.128/25; allow 4.150.79.0/26; allow 4.150.79.72/30; … (5032 more lines)
// nginx_azure_deny.conf
# Azure IP Ranges # Updated: 2026-11-18 02:17:10 # 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/14; deny 4.148.0.0/15; deny 4.150.0.0/18; deny 4.150.64.0/21; deny 4.150.72.0/22; deny 4.150.76.0/23; deny 4.150.78.0/27; deny 4.150.78.32/30; deny 4.150.78.36/31; deny 4.150.78.40/29; deny 4.150.78.48/28; deny 4.150.78.64/26; deny 4.150.78.128/25; deny 4.150.79.0/26; deny 4.150.79.72/30; … (5032 more lines)