// ALIBABA / NGINX
Alibaba · Nginx
Nginx allow/deny config for Alibaba. Drop into your server block or http context. 2,381 CIDRs, refreshed daily.
// nginx_alibaba_allow.conf
# Alibaba IP Ranges # Updated: 2026-07-25 03:14:49 # 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_alibaba_allow.conf; allow 5.181.224.0/23; allow 8.128.4.0/22; allow 8.128.32.0/19; allow 8.128.64.0/19; allow 8.128.96.0/20; allow 8.129.0.0/16; allow 8.130.0.0/15; allow 8.132.0.0/14; allow 8.136.0.0/13; allow 8.144.0.0/14; allow 8.148.0.0/19; allow 8.148.36.0/22; allow 8.148.41.0/24; allow 8.148.43.0/24; allow 8.148.64.0/18; … (316 more lines)
// nginx_alibaba_deny.conf
# Alibaba IP Ranges # Updated: 2026-07-25 03:14:49 # 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_alibaba_deny.conf; deny 5.181.224.0/23; deny 8.128.4.0/22; deny 8.128.32.0/19; deny 8.128.64.0/19; deny 8.128.96.0/20; deny 8.129.0.0/16; deny 8.130.0.0/15; deny 8.132.0.0/14; deny 8.136.0.0/13; deny 8.144.0.0/14; deny 8.148.0.0/19; deny 8.148.36.0/22; deny 8.148.41.0/24; deny 8.148.43.0/24; deny 8.148.64.0/18; … (316 more lines)