// UPCLOUD / NGINX
upcloud · Nginx
Nginx allow/deny config for upcloud. Drop into your server block or http context. 107 CIDRs, refreshed daily.
// nginx_upcloud_allow.conf
# Upcloud IP Ranges # Updated: 2026-07-12 03:46:24 # 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_upcloud_allow.conf; allow 5.22.208.0/20; allow 5.57.208.0/24; allow 5.253.32.0/22; allow 38.100.118.0/23; allow 62.164.153.0/24; allow 77.81.0.0/24; allow 80.69.172.0/22; allow 81.27.96.0/20; allow 83.136.248.0/21; allow 85.9.192.0/19; allow 87.58.144.0/20; allow 94.237.0.0/18; allow 94.237.64.0/19; allow 94.237.96.0/20; allow 94.237.112.0/21; … (32 more lines)
// nginx_upcloud_deny.conf
# Upcloud IP Ranges # Updated: 2026-07-12 03:46:24 # 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_upcloud_deny.conf; deny 5.22.208.0/20; deny 5.57.208.0/24; deny 5.253.32.0/22; deny 38.100.118.0/23; deny 62.164.153.0/24; deny 77.81.0.0/24; deny 80.69.172.0/22; deny 81.27.96.0/20; deny 83.136.248.0/21; deny 85.9.192.0/19; deny 87.58.144.0/20; deny 94.237.0.0/18; deny 94.237.64.0/19; deny 94.237.96.0/20; deny 94.237.112.0/21; … (32 more lines)