// GOOGLEBOT / NGINX
Googlebot · Nginx
Nginx allow/deny config for Googlebot. Drop into your server block or http context. 311 CIDRs, refreshed daily.
// nginx_googlebot_allow.conf
# Googlebot IP Ranges # Updated: 2026-05-07 00:40:32 # 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_googlebot_allow.conf; allow 2001:4860:4801:10::/64; allow 2001:4860:4801:11::/64; allow 2001:4860:4801:12::/64; allow 2001:4860:4801:13::/64; allow 2001:4860:4801:14::/64; allow 2001:4860:4801:15::/64; allow 2001:4860:4801:16::/64; allow 2001:4860:4801:17::/64; allow 2001:4860:4801:18::/64; allow 2001:4860:4801:19::/64; allow 2001:4860:4801:1a::/64; allow 2001:4860:4801:1b::/64; allow 2001:4860:4801:1c::/64; allow 2001:4860:4801:1d::/64; allow 2001:4860:4801:1e::/64; … (297 more lines)
// nginx_googlebot_deny.conf
# Googlebot IP Ranges # Updated: 2026-05-07 00:40:32 # 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_googlebot_deny.conf; deny 2001:4860:4801:10::/64; deny 2001:4860:4801:11::/64; deny 2001:4860:4801:12::/64; deny 2001:4860:4801:13::/64; deny 2001:4860:4801:14::/64; deny 2001:4860:4801:15::/64; deny 2001:4860:4801:16::/64; deny 2001:4860:4801:17::/64; deny 2001:4860:4801:18::/64; deny 2001:4860:4801:19::/64; deny 2001:4860:4801:1a::/64; deny 2001:4860:4801:1b::/64; deny 2001:4860:4801:1c::/64; deny 2001:4860:4801:1d::/64; deny 2001:4860:4801:1e::/64; … (297 more lines)