// APPLEBOT / NGINX
Applebot · Nginx
Nginx allow/deny config for Applebot. Drop into your server block or http context. 24 CIDRs, refreshed daily.
// nginx_applebot_allow.conf
# Applebot IP Ranges # Updated: 2026-09-16 02:26:04 # 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_applebot_allow.conf; allow 17.166.20.0/22; allow 17.166.24.0/23; allow 17.166.150.0/23; allow 17.166.152.0/22; allow 17.166.192.48/28; allow 17.166.232.0/22; allow 17.166.236.0/23; allow 17.166.240.48/28; allow 17.166.248.48/28; allow 17.241.193.160/27; allow 17.241.200.160/27; allow 17.241.208.160/27; deny all;
// nginx_applebot_deny.conf
# Applebot IP Ranges # Updated: 2026-09-16 02:26:04 # 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_applebot_deny.conf; deny 17.166.20.0/22; deny 17.166.24.0/23; deny 17.166.150.0/23; deny 17.166.152.0/22; deny 17.166.192.48/28; deny 17.166.232.0/22; deny 17.166.236.0/23; deny 17.166.240.48/28; deny 17.166.248.48/28; deny 17.241.193.160/27; deny 17.241.200.160/27; deny 17.241.208.160/27; allow all;