# twitter Start upstream twitter-com { #server 104.244.42.1:443; #server 104.244.42.13:443; #server 104.244.42.14:443; #server 104.244.42.78:443; #server 104.244.42.141:443; #server 104.244.42.142:443; #server 104.244.42.206:443; #server 104.244.42.1:443; #server 104.244.42.65:443; #server 104.244.42.129:443; #server 104.244.42.193:443; server 104.244.45.65:443; ##server 104.244.45.129:443; server 104.244.45.193:443; server 69.195.169.139:443; server 69.195.170.139:443; server 69.195.183.139:443; server 69.195.171.251:443; server 69.195.171.252:443; keepalive 16; keepalive_time 1h; keepalive_timeout 300s; keepalive_requests 10000; } upstream mobile-twitter-com { #server 104.244.42.6:443; #server 104.244.42.70:443; #server 104.244.42.134:443; #server 104.244.42.198:443; server 104.244.45.6:443; } upstream support-twitter-com { #server 104.244.42.3:443; #server 104.244.42.67:443; #server 104.244.42.131:443; #server 104.244.42.195:443; server 104.244.45.3:443; } upstream syndication-twitter-com { server 104.244.45.8:443; } upstream upload-twitter-com { server 69.195.171.253:443; server 104.244.45.11:443; } upstream api-twitter-com { #server 104.244.41.1:443; #server 104.244.41.2:443; #server 104.244.41.3:443; #server 104.244.41.67:443; #server 104.244.41.66:443; #server 104.244.41.65:443; #server 104.244.41.131:443; #server 104.244.41.130:443; #server 104.244.41.129:443; #server 104.244.41.193:443; #server 104.244.41.194:443; #server 104.244.41.195:443; #server 104.244.42.2:443; #server 104.244.42.66:443; #server 104.244.42.130:443; #server 104.244.42.194:443; server 104.244.45.2:443; ##server 104.244.45.66:443; ##server 104.244.45.130:443; server 104.244.45.194:443; keepalive 16; keepalive_time 1h; keepalive_timeout 600s; keepalive_requests 10000; } upstream ton-twitter-com { server 104.244.42.20:443; server 104.244.42.84:443; server 104.244.42.148:443; server 104.244.42.212:443; server 104.244.45.8:443; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name twitter.com; server_name x.com; server_name *.x.com; server_name *.twitter.com; include cert.conf; location / { proxy_pass https://twitter-com/; include Twitter.params; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name platform.twitter.com; server_name platform.x.com; include cert.conf; location / { set $platform_twitter platform.twitter.map.fastly.net; proxy_pass https://$platform_twitter:443/; include Twitter.params; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name upload.twitter.com; server_name upload.x.com; include cert.conf; location / { proxy_pass https://upload-twitter-com/; include Twitter.params; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name ton.twitter.com; server_name ton.x.com; include cert.conf; location / { proxy_pass https://ton-twitter-com/; include Twitter.params ; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name api.twitter.com; server_name api.x.com; include cert.conf; location / { proxy_pass https://api-twitter-com/; tcp_nodelay on; proxy_set_header Cookie $http_cookie; proxy_set_header Upgrade $http_upgrade; include Twitter.params ; } } upstream twimg-com { #server 104.244.42.201:443; #server 104.244.43.131:443; server 146.75.20.157:443; server 146.75.20.158:443; server 146.75.20.159:443; server 146.75.20.160:443; server 146.75.112.157:443; server 146.75.112.158:443; server 146.75.112.159:443; server 146.75.112.160:443; server 151.101.64.157:443; server 151.101.64.158:443; server 151.101.64.159:443; server 151.101.64.160:443; server 151.101.76.157:443; server 151.101.76.158:443; #server 151.101.76.159:443; server 151.101.76.160:443; server 151.101.88.157:443; server 151.101.88.158:443; server 151.101.88.159:443; server 151.101.88.160:443; #server 151.101.108.157:443; server 151.101.108.158:443; server 151.101.108.160:443; server 151.101.112.157:443; server 151.101.112.158:443; server 151.101.112.159:443; server 151.101.112.160:443; server 151.101.128.157:443; server 151.101.128.158:443; server 151.101.128.159:443; server 151.101.128.160:443; server 151.101.192.157:443; server 151.101.192.158:443; server 151.101.192.159:443; server 151.101.192.160:443; server 199.232.208.157:443; server 199.232.208.158:443; server 199.232.208.159:443; server 199.232.208.160:443; server 199.232.212.157:443; server 199.232.212.158:443; server 199.232.212.159:443; server 199.232.212.160:443; server 199.232.232.157:443; server 199.232.232.158:443; server 199.232.232.159:443; server 199.232.232.160:443; keepalive 16; keepalive_time 1h; keepalive_timeout 120; keepalive_requests 1000; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name *.twimg.com; include cert.conf; location / { proxy_pass https://twimg-com/; include Twitter.params; } } upstream video-twimg-com { #server 117.18.232.102:443; server 146.75.48.157:443; server 146.75.48.158:443; server 146.75.48.159:443; server 146.75.48.160:443; #server 151.101.108.157:443; server 151.101.108.158:443; server 151.101.108.160:443; server 167.82.84.158:443; server 192.229.232.217:443; server 192.229.210.163:443; server 199.232.44.157:443; server 199.232.100.159:443; server 199.232.104.160:443; server 199.232.236.158:443; server [2a04:4e42:1a::157]:443; server [2a04:4e42:1a::158]:443; server [2a04:4e42:1a::159]:443; server [2a04:4e42:1a::160]:443; server [2606:2800:247:22e4:1f0b:18b4:207d:15b0]:443; server [2606:2800:21f:dc2:1fe1:23fc:954:1461]:443; } upstream t-co { #server 104.244.45.150:443; server 104.244.45.5:443; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name t.co; include cert.conf; location / { proxy_pass https://t-co/; include Twitter.params; } } upstream jf-x-com { server 35.155.77.250:443; server 52.33.255.168:443; server 44.240.80.13:443; server 35.160.104.26:443; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name jf.x.com; include cert.conf; location / { proxy_pass https://jf-x-com/; include Twitter.params; } } # twitter End