// AZURE / NGINX
Azure · Nginx
Nginx allow/deny config for Azure. Drop into your server block or http context. 103,021 CIDRs, refreshed daily.
// nginx_azure_allow.conf
# Azure IP Ranges # Updated: 2026-05-16 03:16:46 # 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 00: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.145.74.52/30; allow 4.149.254.68/30; allow 4.150.239.212/30; allow 4.151.103.92/30; allow 4.171.31.152/30; allow 4.190.136.180/30; allow 4.200.251.84/30; allow 4.202.253.100/30; allow 4.206.229.96/30; allow 4.207.242.64/30; allow 4.216.204.200/30; allow 4.218.236.160/30; allow 4.219.249.220/30; allow 4.220.138.104/30; allow 4.232.48.104/30; … (103007 more lines)
// nginx_azure_deny.conf
# Azure IP Ranges # Updated: 2026-05-16 03:16:46 # 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 00: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.145.74.52/30; deny 4.149.254.68/30; deny 4.150.239.212/30; deny 4.151.103.92/30; deny 4.171.31.152/30; deny 4.190.136.180/30; deny 4.200.251.84/30; deny 4.202.253.100/30; deny 4.206.229.96/30; deny 4.207.242.64/30; deny 4.216.204.200/30; deny 4.218.236.160/30; deny 4.219.249.220/30; deny 4.220.138.104/30; deny 4.232.48.104/30; … (103007 more lines)