// TEAMCITY / NGINX
TeamCity · Nginx
Nginx allow/deny config for TeamCity. Drop into your server block or http context. 11 CIDRs, refreshed daily.
// nginx_teamcity_allow.conf
# Teamcity IP Ranges # Updated: 2026-05-12 01:18:08 # 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 00: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_teamcity_allow.conf; allow 52.49.162.42/32; allow 52.214.29.36/32; allow 185.223.133.26/32; allow 34.255.77.87/32; allow 52.208.252.98/32; allow 54.155.204.237/32; allow 79.125.74.147/32; allow 63.32.4.62/32; allow 52.17.73.242/32; allow 52.209.101.160/32; allow 34.251.114.150/32; deny all;
// nginx_teamcity_deny.conf
# Teamcity IP Ranges # Updated: 2026-05-12 01:18:08 # 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 00: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_teamcity_deny.conf; deny 52.49.162.42/32; deny 52.214.29.36/32; deny 185.223.133.26/32; deny 34.255.77.87/32; deny 52.208.252.98/32; deny 54.155.204.237/32; deny 79.125.74.147/32; deny 63.32.4.62/32; deny 52.17.73.242/32; deny 52.209.101.160/32; deny 34.251.114.150/32; allow all;