// GOCACHE / NGINX
gocache · Nginx
Nginx allow/deny config for gocache. Drop into your server block or http context. 25 CIDRs, refreshed daily.
// nginx_gocache_allow.conf
# Gocache IP Ranges # Updated: 2026-07-12 03:46:20 # 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_gocache_allow.conf; allow 34.95.148.131/32; allow 34.95.164.249/32; allow 34.95.168.58/32; allow 34.95.209.169/32; allow 34.95.213.225/32; allow 34.95.253.129/32; allow 35.247.222.78/32; allow 38.224.134.0/24; allow 45.77.97.241/32; allow 52.67.255.165/32; allow 129.159.48.87/32; allow 140.82.27.226/32; allow 144.22.216.139/32; allow 150.230.84.126/32; allow 170.82.175.0/24; … (11 more lines)
// nginx_gocache_deny.conf
# Gocache IP Ranges # Updated: 2026-07-12 03:46:20 # 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_gocache_deny.conf; deny 34.95.148.131/32; deny 34.95.164.249/32; deny 34.95.168.58/32; deny 34.95.209.169/32; deny 34.95.213.225/32; deny 34.95.253.129/32; deny 35.247.222.78/32; deny 38.224.134.0/24; deny 45.77.97.241/32; deny 52.67.255.165/32; deny 129.159.48.87/32; deny 140.82.27.226/32; deny 144.22.216.139/32; deny 150.230.84.126/32; deny 170.82.175.0/24; … (11 more lines)