CLOUD-IP // v2026.07
UPDATED 2026-07-11 PROVIDERS 37 LIVE
// GITHUB / NGINX

GitHub · Nginx

Nginx allow/deny config for GitHub. Drop into your server block or http context. 7,377 CIDRs, refreshed daily.

// nginx_github_allow.conf

DOWNLOAD ↓  · 
# Github IP Ranges
# Updated: 2026-07-07 03:15:56
# 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_github_allow.conf;

allow 4.148.0.0/14;
allow 4.152.0.0/14;
allow 4.156.0.0/15;
allow 4.172.0.0/14;
allow 4.180.0.0/16;
allow 4.204.0.0/14;
allow 4.208.0.0/15;
allow 4.210.0.0/16;
allow 4.225.11.192/32;
allow 4.225.11.194/32;
allow 4.225.11.196/32;
allow 4.225.11.200/31;
allow 4.227.0.0/16;
allow 4.228.31.145/32;
allow 4.228.31.149/32;
… (5390 more lines)

// nginx_github_deny.conf

DOWNLOAD ↓  · 
# Github IP Ranges
# Updated: 2026-07-07 03:15:56
# 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_github_deny.conf;

deny 4.148.0.0/14;
deny 4.152.0.0/14;
deny 4.156.0.0/15;
deny 4.172.0.0/14;
deny 4.180.0.0/16;
deny 4.204.0.0/14;
deny 4.208.0.0/15;
deny 4.210.0.0/16;
deny 4.225.11.192/32;
deny 4.225.11.194/32;
deny 4.225.11.196/32;
deny 4.225.11.200/31;
deny 4.227.0.0/16;
deny 4.228.31.145/32;
deny 4.228.31.149/32;
… (5390 more lines)