// GOOGLEBOT / NGINX
Googlebot · Nginx
Nginx allow/deny config for Googlebot. Drop into your server block or http context. 315 CIDRs, refreshed daily.
// nginx_googlebot_allow.conf
# Googlebot IP Ranges # Updated: 2026-06-25 03:20:13 # 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_googlebot_allow.conf; allow 34.22.85.0/27; allow 34.64.82.64/28; allow 34.65.242.112/28; allow 34.80.50.80/28; allow 34.88.194.0/28; allow 34.89.10.80/28; allow 34.89.198.80/28; allow 34.96.162.48/28; allow 34.100.182.96/28; allow 34.101.50.144/28; allow 34.118.66.0/28; allow 34.118.254.0/28; allow 34.126.178.96/28; allow 34.146.150.144/28; allow 34.147.110.144/28; … (51 more lines)
// nginx_googlebot_deny.conf
# Googlebot IP Ranges # Updated: 2026-06-25 03:20:13 # 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_googlebot_deny.conf; deny 34.22.85.0/27; deny 34.64.82.64/28; deny 34.65.242.112/28; deny 34.80.50.80/28; deny 34.88.194.0/28; deny 34.89.10.80/28; deny 34.89.198.80/28; deny 34.96.162.48/28; deny 34.100.182.96/28; deny 34.101.50.144/28; deny 34.118.66.0/28; deny 34.118.254.0/28; deny 34.126.178.96/28; deny 34.146.150.144/28; deny 34.147.110.144/28; … (51 more lines)