// CONTABO / NGINX
Contabo · Nginx
Nginx allow/deny config for Contabo. Drop into your server block or http context. 758 CIDRs, refreshed daily.
// nginx_contabo_allow.conf
# Contabo IP Ranges # Updated: 2026-10-05 02:44:07 # 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_contabo_allow.conf; allow 2.58.80.0/22; allow 2.59.156.0/24; allow 5.104.80.0/21; allow 5.180.148.0/22; allow 5.182.17.0/24; allow 5.182.33.0/24; allow 5.189.128.0/18; allow 5.252.52.0/22; allow 13.140.32.0/20; allow 13.140.56.0/22; allow 13.140.64.0/21; allow 13.140.72.0/22; allow 13.140.76.0/23; allow 13.140.128.0/18; allow 31.187.74.0/24; … (334 more lines)
// nginx_contabo_deny.conf
# Contabo IP Ranges # Updated: 2026-10-05 02:44:07 # 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_contabo_deny.conf; deny 2.58.80.0/22; deny 2.59.156.0/24; deny 5.104.80.0/21; deny 5.180.148.0/22; deny 5.182.17.0/24; deny 5.182.33.0/24; deny 5.189.128.0/18; deny 5.252.52.0/22; deny 13.140.32.0/20; deny 13.140.56.0/22; deny 13.140.64.0/21; deny 13.140.72.0/22; deny 13.140.76.0/23; deny 13.140.128.0/18; deny 31.187.74.0/24; … (334 more lines)