mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-24 22:58:12 +08:00
510 lines
12 KiB
Plaintext
510 lines
12 KiB
Plaintext
|
# Twitch Start
|
||
|
upstream twitch-tv {
|
||
|
server 151.101.2.167:443;
|
||
|
server 151.101.66.167:443;
|
||
|
server 151.101.130.167:443;
|
||
|
server 151.101.194.167:443;
|
||
|
server 151.101.230.167:443;
|
||
|
server twitch.map.fastly.net:443;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name twitch.tv;
|
||
|
server_name www.twitch.tv;
|
||
|
server_name m.twitch.tv;
|
||
|
server_name app.twitch.tv;
|
||
|
server_name clips.twitch.tv;
|
||
|
server_name gql.twitch.tv;
|
||
|
server_name dashboard.twitch.tv;
|
||
|
server_name player.twitch.tv;
|
||
|
server_name api.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver public1.alidns.com valid=300;
|
||
|
set $twitch_tv twitch.map.fastly.net;
|
||
|
proxy_pass https://$twitch_tv:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name irc-ws.chat.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://5a895ed07aed1b254ee21cd78958ae0b.steam302.xyz:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name irc-ws-r.chat.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://065f67277ae87878fffaa60519b3ee5c.steam302.xyz:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name vod-storyboards.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=120;
|
||
|
set $vod_storyboards dlifex0fg7ru9.cloudfront.net;
|
||
|
proxy_pass https://$vod_storyboards:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name vod-metro.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $vod_metro d8t045al7vai0.cloudfront.net;
|
||
|
proxy_pass https://$vod_metro:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name music.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $music_twitch_tv d12b3e89c9703p.cloudfront.net;
|
||
|
proxy_pass https://$music_twitch_tv:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name player.m7g.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $player_m7g_twitch dnjmu7cm5xw9w.cloudfront.net;
|
||
|
proxy_pass https://$player_m7g_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name badges.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://dbc180c27b3635f9e5b006f3a037b87e.steam302.xyz:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream d1x43om3304ey9-cloudfront-net {
|
||
|
server 13.225.103.12:443;
|
||
|
server 13.225.103.89:443;
|
||
|
server 13.225.103.105:443;
|
||
|
server 13.225.103.124:443;
|
||
|
server [2600:9000:2200:8a00:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:5000:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:b400:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:7600:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:2800:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:2400:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:2200:2:b70:2c40:93a1]:443;
|
||
|
server [2600:9000:2200:e600:2:b70:2c40:93a1]:443;
|
||
|
server d1x43om3304ey9.cloudfront.net:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name blog.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver public1.alidns.com valid=300;
|
||
|
set $blog_twitch d1x43om3304ey9-cloudfront-net;
|
||
|
proxy_pass https://$blog_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name panels.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $panels_twitch_tv d1ut6fykkt3imt.cloudfront.net;
|
||
|
proxy_pass https://$panels_twitch_tv:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name dev.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $dev_twitch_tv d205b01qzi0xib.cloudfront.net;
|
||
|
proxy_pass https://$dev_twitch_tv:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name spade.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 223.5.5.5 valid=60;
|
||
|
set $spade_twitch_tv science-edge-external-prod-73889260.us-west-2.elb.amazonaws.com;
|
||
|
proxy_pass https://$spade_twitch_tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name vod-secure.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $vod_secure_twitch_tv ds0h3roq6wcgc.cloudfront.net;
|
||
|
proxy_pass https://$vod_secure_twitch_tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name trowel.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $trowel_twitch_tv science-edge-external-prod-73889260.us-west-2.elb.amazonaws.com;
|
||
|
proxy_pass https://$trowel_twitch_tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name extension-files.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $extension_files_twitch d36mepituis1gg.cloudfront.net;
|
||
|
proxy_pass https://$extension_files_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name help.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 223.5.5.5 valid=60;
|
||
|
set $help_twitch_tv e26428.dscx.akamaiedge.net;
|
||
|
proxy_pass https://$help_twitch_tv:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name brand.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $brand_twitch d2g064yykcu7rs.cloudfront.net;
|
||
|
proxy_pass https://$brand_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream passport-twitch-tv {
|
||
|
server 52.38.185.174:443;
|
||
|
server 34.208.37.185:443;
|
||
|
server 52.36.215.144:443;
|
||
|
server c3ad68a16f66bff24e2d82595bd240a1.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name passport.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://passport-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream id-twitch-tv {
|
||
|
server 52.27.34.51:443;
|
||
|
server 52.27.193.97:443;
|
||
|
server 35.164.201.113:443;
|
||
|
server 35.82.117.112:443;
|
||
|
server 35.164.166.201:443;
|
||
|
server 52.32.64.194:443;
|
||
|
server 2973c6ca0e111662ed293b57dbae9fbf.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name id.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://id-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream link-twitch-tv {
|
||
|
server 67.199.248.12:443;
|
||
|
server 67.199.248.13:443;
|
||
|
server 985a89155dd090eacda1b82388e334ed.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name link.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://link-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream id--cdn-twitch-tv {
|
||
|
server 13.224.167.13:443;
|
||
|
server 13.224.167.21:443;
|
||
|
server 13.224.167.82:443;
|
||
|
server 13.224.167.126:443;
|
||
|
server 108.138.246.32:443;
|
||
|
server 108.138.246.23:443;
|
||
|
server 108.138.246.47:443;
|
||
|
server 108.138.246.101:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name id-cdn.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://id--cdn-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream pubsub--edge-twitch-tv {
|
||
|
server 54.186.8.237:443;
|
||
|
server 100.20.215.79:443;
|
||
|
server 35.82.206.220:443;
|
||
|
server 54.69.59.28:443;
|
||
|
server 54.188.166.247:443;
|
||
|
server 34.213.206.213:443;
|
||
|
server 54.184.104.163:443;
|
||
|
server 34.213.26.113:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name pubsub-edge.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://pubsub--edge-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream assets-help-twitch-tv {
|
||
|
server 13.225.103.75:443;
|
||
|
server 13.225.103.43:443;
|
||
|
server 13.225.103.12:443;
|
||
|
server 13.225.103.14:443;
|
||
|
server 54.192.18.40:443;
|
||
|
server 54.192.18.82:443;
|
||
|
server 54.192.18.83:443;
|
||
|
server 54.192.18.93:443;
|
||
|
server 6d859be7aa0440f65c8a940ef5218337.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name assets.help.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://assets-help-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream discuss-dev-twitch-tv {
|
||
|
server 54.69.226.84:443;
|
||
|
server 522c432cc10e237a02fa1d6481d7d247.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name discuss.dev.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://discuss-dev-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream ingest-twitch-tv {
|
||
|
server 192.108.239.253:443;
|
||
|
server 23.160.0.253:443;
|
||
|
server b3d696173d52b66e1caab6145cb5058b.steam302.xyz:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name ingest.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://ingest-twitch-tv/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
upstream usher-ttvnw-net {
|
||
|
server 124.108.22.138:443;
|
||
|
server usher.steam302.xyz:443;
|
||
|
#server 192.108.239.254:443;
|
||
|
#server 23.160.0.254:443;
|
||
|
}
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name usher.ttvnw.net;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass https://usher-ttvnw-net/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name cvp.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 223.5.5.5 valid=60;
|
||
|
set $cvp_twitch e9221.i.akamaiedge.net;
|
||
|
proxy_pass https://$cvp_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name clips-media-assets2.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 9.9.9.12 valid=60;
|
||
|
set $clips_media_twitch d2xmjdvx03ij56.cloudfront.net;
|
||
|
proxy_pass https://$clips_media_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name safety.twitch.tv;
|
||
|
|
||
|
include cert.conf;
|
||
|
|
||
|
location / {
|
||
|
resolver 223.5.5.5 valid=60;
|
||
|
set $safety_twitch e28790.dsca.akamaiedge.net;
|
||
|
proxy_pass https://$safety_twitch:443/;
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
# Twitch End
|