diff --git a/conf/cert.pem b/conf/cert.pem deleted file mode 100644 index 8b1d4ae..0000000 --- a/conf/cert.pem +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICxDCCAaygAwIBAgIIdFTrJJMBNZwwDQYJKoZIhvcNAQELBQAwDzENMAsGA1UE -AwwEV25tcDAeFw0xODA5MjUxNDM3MDNaFw0yODA5MjUxNDM3MDNaMA8xDTALBgNV -BAMMBFdubXAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCCqQtQ07hG -9gWcJNzRxREXpEODgKa8MPeaNw2pXFdU79Irp4ft0ilERmxZJ7THb3GZqsfIiMEN -9Bm9h2GvF7NDydo7zdO2Yhn7ELqUs/Msl7yFGAyfg7uS+nxCsQRzVt/xiQR0xJtx -fXGXEv92HDWRi6lLcjyyEgErx72upHBKYAl7lVHMHvZab1cmUuOz0KiMa0MC+/9p -uOWsYjEqEgAnaBzb1eUo1/S12za2zWVCbKDV8xkCi86AVOLIIwMFPE9BREYvYY9D -+I+RoCWf0h/u0U/Nytw/T8EOcDLHkW1/siX7bYaFCmsvFvUr4hT5790YUmRpeGcw -Wic1fsqcYTWZAgMBAAGjJDAiMCAGCWCGSAGG+EIBDQQTDBFHZW5lcmF0ZWQgYnkg -V25tcDANBgkqhkiG9w0BAQsFAAOCAQEAHwCoHBxe5pBHLMys3mPFRkafPkr0vPiK -Nxq1l2gjH8k6bW7ez9WraovpJiAIxTkJGYMT2exK9LchsadkRxJ4tZ/osOrBT6Qe -nxKo8Oym+8QxgSVhYSdxOZm9SYpv9f2HTTVRvG7l2WyvDny1+Uh9zGg4MKW5yVXZ -a6fmHlzcR/AGds2pKSirbLCmp5/R6rvHRR1nBgqP9FUdEFvbu4V4gCh2Z1oVGyoU -atbI8U0DfmbDeHoWjkWG+KPfVxhNZJamIZ02t2/9edPLOLZFNoCreZr3F+BfkVil -75E3KWFLjqphhYhFrT69C4yxp6jDt/UncDRgX/bqSERJDZae8GP91A== ------END CERTIFICATE----- diff --git a/conf/fastcgi_params b/conf/fastcgi_params deleted file mode 100644 index 091738c..0000000 --- a/conf/fastcgi_params +++ /dev/null @@ -1,26 +0,0 @@ - -fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; -fastcgi_param QUERY_STRING $query_string; -fastcgi_param REQUEST_METHOD $request_method; -fastcgi_param CONTENT_TYPE $content_type; -fastcgi_param CONTENT_LENGTH $content_length; - -fastcgi_param SCRIPT_NAME $fastcgi_script_name; -fastcgi_param REQUEST_URI $request_uri; -fastcgi_param DOCUMENT_URI $document_uri; -fastcgi_param DOCUMENT_ROOT $document_root; -fastcgi_param SERVER_PROTOCOL $server_protocol; -fastcgi_param REQUEST_SCHEME $scheme; -fastcgi_param HTTPS $https if_not_empty; - -fastcgi_param GATEWAY_INTERFACE CGI/1.1; -fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; - -fastcgi_param REMOTE_ADDR $remote_addr; -fastcgi_param REMOTE_PORT $remote_port; -fastcgi_param SERVER_ADDR $server_addr; -fastcgi_param SERVER_PORT $server_port; -fastcgi_param SERVER_NAME $server_name; - -# PHP only, required if PHP was built with --enable-force-cgi-redirect -fastcgi_param REDIRECT_STATUS 200; diff --git a/conf/key.pem b/conf/key.pem deleted file mode 100644 index 1524748..0000000 --- a/conf/key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEAgqkLUNO4RvYFnCTc0cURF6RDg4CmvDD3mjcNqVxXVO/SK6eH -7dIpREZsWSe0x29xmarHyIjBDfQZvYdhrxezQ8naO83TtmIZ+xC6lLPzLJe8hRgM -n4O7kvp8QrEEc1bf8YkEdMSbcX1xlxL/dhw1kYupS3I8shIBK8e9rqRwSmAJe5VR -zB72Wm9XJlLjs9CojGtDAvv/abjlrGIxKhIAJ2gc29XlKNf0tds2ts1lQmyg1fMZ -AovOgFTiyCMDBTxPQURGL2GPQ/iPkaAln9If7tFPzcrcP0/BDnAyx5Ftf7Il+22G -hQprLxb1K+IU+e/dGFJkaXhnMFonNX7KnGE1mQIDAQABAoIBAAzM1hCfXTCJI42O -HZqTTWmygZwIEM2OQoN3cegt5VmrJjzOlxtuTkqjrN5NwdZpODN6A+5vr0dYVY6N -Ymgj0JULLkz+N10Ts+s2UquvYVr0q9b3adfVW506MCLccqIrWERc9vR1hQDo7XrZ -CpvIhwWbgq9NzAe/NHbUhOREtGzPYwHFjWpzuZlXTeeLVIDIuQ7IqekLNi/JgebT -FcTA8CzlKbgPueFwy8cQ21ZMqEY+1qRDIKKtcCVJ5tztbHJN5xrHgTWT+Jo8wOL5 -EHhUI+jTReTREOnYqnvWvJRmI5rUg81Z80krO/quYGnBXrSbqL/WcdTMYyth6sV6 -TL1Vw00CgYEAzR4UNBezpI/QbmRhmsG29gc+8X6t4ZnuByc+EnB8NHtjXWHJBccs -uAklK4q7AqJMqt+JoyLBUjzxPp8eRYRzkXZ7J/VV1hnDqrB1xz/RrvWgyBS6qo8X -QDutghbTP4tQQPlVGV6EvbOoxkkyDt7DiKTyqBM60z71zJNknGwrmBcCgYEAoxKW -MDFIlnov011tAo0sCDbffqbbbn0e5QvLN/9tpV+lzGMDKLp+MrLTiKkZ+mnuuMQq -4G/PegO/4B+LN9GUhIHA1pIy0Yu1ktguw33KEjjz+Uq1dAO0pGxezdvlpAHocRoO -TLqNEyz/qfFNnIXA1//hOxkGug7GcxYeFE/Sfc8CgYBpZI0o/wy0/5gvQLDOHb7u -x2ZWG6sogjlFv6orO1T2enfh4X6y01Zs8XYB23Sfs9kE63sDMbZ3lQy4CnY5bgcb -tO8u5uZF7lMVfznlOSt6ZIdKhywquv9NZ9yNPUEqI2EHIZXSRTibaJbN24o3DcsW -iPqN1eOh63XMuec2YHY93QKBgBhqK/pDJq8A1DA9CJkdMb55GLUJnkjIituYDHDx -2SStUVFscYijg0lr5KfNSYpoWcln9VNs6g9GiG+xyVIuGqJMGucFNH6TADhgDYBP -UPWxeTWVrd0UwPLtFrSTe6o2buqgEAwE0iJQ1mZHLmuEyv6L3NjQQmWQ2L1aTl6U -JNuZAoGAEb13ZbzqLtaodrKMqJwKa6pzhi9F8+o/GOutV2PXOFgUBszrjyDShIUv -sJ+C1y4+dFmgEulxZNVnzOg0t+wgD1cdr/MPsGhF96FGszLOUjKz15QyPoD8xkAS -Fk3EBth9Pj4FQ+U2ACUdJbX0QaWWdCEwRca7PUzfEePqJllgZWM= ------END RSA PRIVATE KEY----- diff --git a/conf/nginx.conf b/conf/nginx.conf index a2f8bf7..6cfddf5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,13 +1,15 @@ #user nobody; +#worker_cpu_affinity auto; worker_processes 2; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; -#pid logs/nginx.pid; events { + #use icop; + #multi_accept on; worker_connections 32767; } @@ -20,6 +22,7 @@ http { #ssl_ciphers "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"; log_format main '[$time_local]- 客户端地址:"$remote_addr" 请求耗时"$request_time" 域名:$http_host 监听地址:$server_addr 监听端口:$server_port $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr" $status 总字节数$body_bytes_sent\n "$http_referer" "$http_x_forwarded_for" \n    "$request"\n';# "$http_user_agent" access_log logs/access.log main buffer=4k; + open_log_file_cache max=100 inactive=1m valid=1m min_uses=1; fastcgi_buffers 16 128k; sendfile on; @@ -28,24 +31,25 @@ http { #keepalive_timeout 0; keepalive_timeout 120; - keepalive_requests 30000; + keepalive_requests 10000; client_max_body_size 200m; server_names_hash_max_size 512; server_names_hash_bucket_size 1024; gzip on; - # include Pixiv.conf; - # include E-hentai.conf; - #include Steam.conf; - #include DLsite.conf;#目前已不需要,只改hosts就行了 - #include Reddit.conf; - #include Wallhaven.conf; - #include iwara.conf;#目前已不需要 - #include Discord.conf; - #include Twitter.conf; - #include Twitch.conf; - #include Instagram.conf; - #include FaceBook.conf; - #include PayPal.conf; - #include nhentai.conf; - #include GoogleVideo.conf; -} \ No newline at end of file + include site-pixiv.conf; + include site-ehentai.conf; + #include site-steam.conf; + #include site-dlsite.conf; + #include site-instagram.conf; + #include site-facebook.conf; + #include site-iwara.conf;#目前已不需要反代 + #include site-reddit.conf; + #include site-discord.conf; + #include site-twitter.conf; + #include site-twitch.conf; + #include site-wall-haven.conf; + #include site-imgur.conf; + #include site-imgix.conf; + #include site-google-video.conf; +} + diff --git a/conf/pixiv.conf b/conf/pixiv.conf deleted file mode 100644 index c03f308..0000000 --- a/conf/pixiv.conf +++ /dev/null @@ -1,502 +0,0 @@ -upstream www-pixiv-net { - #server 104.18.12.135:443; - #server 104.18.13.135:443; - server 210.140.131.223:443; - server 210.140.131.225:443; - server 210.140.131.220:443; -} - -upstream account-pixiv-net { - server 210.140.131.226:443; - server 210.140.131.218:443; - server 210.140.131.222:443; -} - -upstream sketch-pixiv-net { - server 210.140.174.37:443; - server 210.140.170.179:443; - server 210.140.175.130:443; -} - -upstream sketch-hls-server { - server 210.140.214.211:443; - server 210.140.214.212:443; - server 210.140.214.213:443; -} - -upstream imgaz-pixiv-net { - server 210.140.131.145:443; - server 210.140.131.144:443; - server 210.140.131.147:443; - server 210.140.131.153:443; -} - -upstream i-pximg-net { - server 210.140.92.140:443; - server 210.140.92.137:443; - server 210.140.92.139:443; - server 210.140.92.142:443; - server 210.140.92.134:443; - server 210.140.92.141:443; - server 210.140.92.143:443; - server 210.140.92.136:443; - server 210.140.92.138:443; - server 210.140.92.144:443; - server 210.140.92.145:443; -} - -upstream app-api-pixiv-net { - server 210.140.131.218:443; - server 210.140.131.223:443; - server 210.140.131.226:443; -} - -server { - listen 80 default_server; - rewrite ^(.*) https://$host$1 permanent; -} - -server { - listen 443 ssl; - server_name www.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - client_max_body_size 50M; - - location / { - #proxy_ssl_server_name on; - proxy_pass https://www-pixiv-net; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name pixiv.net; - server_name ssl.pixiv.net; - server_name accounts.pixiv.net; - server_name touch.pixiv.net; - server_name oauth.secure.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - client_max_body_size 50M; - - location / { - proxy_pass https://account-pixiv-net; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name i.pximg.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - set $pximg_url i.pixiv.re; - - #rewrite ^/(.*)$ https://$pximg_url/$1 redirect; - - # proxy_pass https://i-pximg-net; - # proxy_set_header Host $http_host; - - resolver 223.5.5.5; - proxy_pass https://$pximg_url; - proxy_set_header Host $pximg_url; - proxy_ssl_server_name on; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name sketch.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://sketch-pixiv-net; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } - - # Proxying WebSockets - location /ws/ { - proxy_pass https://sketch-pixiv-net; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - } -} - -server { - listen 443 ssl; - server_name *.pixivsketch.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://sketch-hls-server; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name factory.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://210.140.131.180/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name dic.pixiv.net; - server_name en-dic.pixiv.net; - server_name sensei.pixiv.net; - server_name fanbox.pixiv.net; - server_name payment.pixiv.net.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://210.140.131.222/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name imgaz.pixiv.net; - server_name comic.pixiv.net; - server_name novel.pixiv.net; - server_name source.pixiv.net; - server_name i1.pixiv.net; - server_name i2.pixiv.net; - server_name i3.pixiv.net; - server_name i4.pixiv.net; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://imgaz-pixiv-net; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name app-api.pixiv.net; - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://app-api-pixiv-net; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name www.google.com; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location ^~ /recaptcha/ { - rewrite ^(.*)$ https://www.recaptcha.net$1 break; - } - - location / { - default_type text/html; - charset utf-8; - return 200 'Pixiv-Nginx提醒:本工具默认代理了www.google.com,用于加载P站登陆时的验证码插件,如果你有方法正常访问www.google.com,并且不希望看到这个页面,那么将 C:\Windows\System32\drivers\etc\hosts127.0.0.1 www.google.com 的那行记录删除即可。如果删除后刷新网页还是看到这个页面,请先清除一下浏览器缓存。'; - } -} - -upstream wikipedia-text-lb { - server 208.80.153.224:443; - #server 208.80.154.224:443; - server 91.198.174.192:443; - #server 103.102.166.224:443; -} - -server { - listen 443 ssl; - server_name *.wikipedia.org; - server_name *.m.wikipedia.org; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://wikipedia-text-lb/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name wikimedia.org; - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://wikipedia-text-lb/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} -upstream wikipedia-upload-lb { - server 208.80.153.240:443; - server 208.80.154.240:443; - server 91.198.174.208:443; - server 103.102.166.240:443; -} - -server { - listen 443 ssl; - server_name upload.wikimedia.org; - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://wikipedia-upload-lb/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} -server { - listen 443 ssl; - server_name *.steamcommunity.com; - server_name steamcommunity.com; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://23.61.176.149/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name *.steampowered.com; - server_name steampowered.com; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://104.112.84.145/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} -server { - listen 443 ssl; - server_name *.archiveofourown.org; - server_name archiveofourown.org; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://104.153.64.122/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} -server { - listen 443 ssl; - server_name nyaa.si; - server_name www.nyaa.si; - server_name sukebei.nyaa.si; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://185.178.208.182/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -upstream exhentai-lb { - server 178.175.128.252:443; - server 178.175.128.254:443; - server 178.175.129.252:443; - server 178.175.129.254:443; - server 178.175.132.20:443; - server 178.175.132.22:443; -} - -server { - listen 443 ssl; - server_name exhentai.org; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://exhentai-lb/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -upstream e-hentai-lb { - server 104.20.26.25:443; - server 104.20.27.25:443; -} - -server { - listen 443 ssl; - server_name e-hentai.org; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://e-hentai-lb/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} - -server { - listen 443 ssl; - server_name forums.e-hentai.org; - - - ssl_certificate ca/pixiv.net.crt; - ssl_certificate_key ca/pixiv.net.key; - - location / { - proxy_pass https://94.100.18.243:443/; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - } -} diff --git a/conf/shared-proxy-params-1.conf b/conf/shared-proxy-params-1.conf index e12a203..bcd6036 100644 --- a/conf/shared-proxy-params-1.conf +++ b/conf/shared-proxy-params-1.conf @@ -1,8 +1,8 @@ -proxy_http_version 1.1; -proxy_set_header Host $http_host; -proxy_set_header User-Agent $http_user_agent; -proxy_set_header Accept-Encoding ''; -proxy_buffering off; -proxy_ssl_server_name on; -#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -#proxy_set_header X-Real_IP $remote_addr; \ No newline at end of file +proxy_connect_timeout 5; +proxy_set_header Connection ''; +proxy_http_version 1.1; +proxy_set_header Host $http_host; +proxy_set_header User-Agent $http_user_agent; +proxy_set_header Accept-Encoding ''; +proxy_buffering off; +proxy_ssl_server_name on; diff --git a/conf/shared-proxy-params-2.conf b/conf/shared-proxy-params-2.conf index f6cc165..0b3b571 100644 --- a/conf/shared-proxy-params-2.conf +++ b/conf/shared-proxy-params-2.conf @@ -1,8 +1,8 @@ -proxy_connect_timeout 5; -proxy_set_header Connection ''; -proxy_http_version 1.1; -proxy_set_header Host $http_host; -proxy_set_header User-Agent $http_user_agent; -proxy_set_header Accept-Encoding ''; -proxy_buffering off; -proxy_ssl_server_name on; \ No newline at end of file +proxy_http_version 1.1; +proxy_set_header Host $http_host; +proxy_set_header User-Agent $http_user_agent; +proxy_set_header Accept-Encoding ''; +proxy_buffering off; +proxy_ssl_server_name on; +#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +#proxy_set_header X-Real_IP $remote_addr; \ No newline at end of file diff --git a/conf/shared-proxy-params-iwaras.conf b/conf/shared-proxy-params-iwaras.conf index 4c7b7e6..be86113 100644 --- a/conf/shared-proxy-params-iwaras.conf +++ b/conf/shared-proxy-params-iwaras.conf @@ -1,9 +1,9 @@ -access_log logs/iwara-access.gzip main gzip=4 buffer=4k; -error_log logs/iwara-error.log; - -proxy_next_upstream_timeout 12; - -proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -proxy_set_header X-Real_IP $remote_addr; -include proxy.conf; -proxy_ssl_name $http_host; +access_log logs/iwara-access.gzip main gzip=4 buffer=4k; +error_log logs/iwara-error.log; + +proxy_next_upstream_timeout 12; + +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-Real_IP $remote_addr; +include shared-proxy-params-1.conf; +proxy_ssl_name $http_host; \ No newline at end of file diff --git a/conf/shared-proxy-params-twitter.conf b/conf/shared-proxy-params-twitter.conf new file mode 100644 index 0000000..2cbdb94 --- /dev/null +++ b/conf/shared-proxy-params-twitter.conf @@ -0,0 +1,8 @@ +access_log logs/Twitter-access.log main buffer=4k; +error_log logs/Twitter-error.log; +proxy_next_upstream error timeout http_403 http_404 http_429 http_500 http_502 http_503 http_504 non_idempotent; +proxy_headers_hash_max_size 8192; +proxy_buffer_size 128k; +proxy_buffers 4 256k; +proxy_busy_buffers_size 256k; +include shared-proxy-params-1.conf; \ No newline at end of file diff --git a/conf/site-ehentai.conf b/conf/site-ehentai.conf index a31e866..0f01a61 100644 --- a/conf/site-ehentai.conf +++ b/conf/site-ehentai.conf @@ -1,159 +1,159 @@ -# E-Hentai Start -upstream exhentai-lb { - server 178.175.128.252:443; - server 178.175.128.254:443; - server 178.175.129.252:443; - server 178.175.129.254:443; - server 178.175.132.20:443; - server 178.175.132.22:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name exhentai.org; - server_name *.exhentai.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - proxy_pass https://exhentai-lb/; - proxy_next_upstream_timeout 75; - include Proxy.conf; - } -} - -upstream e-hentai-lb { - server 212.7.202.35:443; - server 212.7.202.48:443; - server 212.7.200.92:443; - server 212.7.200.95:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name e-hentai.org; - server_name r.e-hentai.org; - server_name g.e-hentai.org; - server_name lofi.e-hentai.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - proxy_pass https://e-hentai-lb/; - proxy_next_upstream_timeout 100; - include Proxy.conf; - } -} - -upstream forums-e-hentai-lb { - server 94.100.18.243:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name forums.e-hentai.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - proxy_pass https://94.100.18.243:443/; - include Proxy.conf; - } -} - -upstream api-e-hentai-lb { - server 212.7.202.51:443; - server 212.7.200.104:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name api.e-hentai.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - proxy_pass https://api-e-hentai-lb/; - include proxy.conf; - } -} - -upstream upload-e-hentai-lb { - server 94.100.18.247:443; - server 94.100.18.249:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name upld.e-hentai.org; - server_name upload.e-hentai.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - client_max_body_size 400M; - fastcgi_connect_timeout 3000; - fastcgi_send_timeout 3000; - fastcgi_read_timeout 3000; - proxy_pass https://upload-e-hentai-lb/; - include proxy.conf; - } -} - -upstream ehgt-org { - server [2a00:7c80:0:12d::38a1]:443 max_fails=4 fail_timeout=60s; - server [2a00:7c80:0:13b::37a4]:443 max_fails=4 fail_timeout=60s; - server [2a00:7c80:0:123::3a85]:443 max_fails=4 fail_timeout=60s; - server 89.39.106.43:443 max_fails=4 fail_timeout=60s; - server 62.112.8.21:443 max_fails=4 fail_timeout=60s; - server 109.236.85.28:443 max_fails=4 fail_timeout=60s; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} -server { - listen 443 ssl http2; - listen 127.0.0.2:443 ssl http2; - listen [::]:443 ssl http2; - server_name ehgt.org; - - access_log logs/E-hentai-access.log main buffer=4k; - error_log logs/E-hentai-error.log; - - include cert.conf; - - location / { - proxy_pass https://ehgt-org/; - include Proxy.conf; - } -} +# E-Hentai Start +upstream exhentai-lb { + server 178.175.128.252:443; + server 178.175.128.254:443; + server 178.175.129.252:443; + server 178.175.129.254:443; + server 178.175.132.20:443; + server 178.175.132.22:443; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name exhentai.org; + server_name *.exhentai.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + proxy_pass https://exhentai-lb/; + proxy_next_upstream_timeout 75; + include shared-proxy-params-1.conf; + } +} + +upstream e-hentai-lb { + server 212.7.202.35:443; + server 212.7.202.48:443; + server 212.7.200.92:443; + server 212.7.200.95:443; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name e-hentai.org; + server_name r.e-hentai.org; + server_name g.e-hentai.org; + server_name lofi.e-hentai.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + proxy_pass https://e-hentai-lb/; + proxy_next_upstream_timeout 100; + include shared-proxy-params-1.conf; + } +} + +upstream forums-e-hentai-lb { + server 94.100.18.243:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name forums.e-hentai.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + proxy_pass https://94.100.18.243:443/; + include shared-proxy-params-1.conf; + } +} + +upstream api-e-hentai-lb { + server 212.7.202.51:443; + server 212.7.200.104:443; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name api.e-hentai.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + proxy_pass https://api-e-hentai-lb/; + include shared-proxy-params-1.conf; + } +} + +upstream upload-e-hentai-lb { + server 94.100.18.247:443; + server 94.100.18.249:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name upld.e-hentai.org; + server_name upload.e-hentai.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + client_max_body_size 400M; + fastcgi_connect_timeout 3000; + fastcgi_send_timeout 3000; + fastcgi_read_timeout 3000; + proxy_pass https://upload-e-hentai-lb/; + include shared-proxy-params-1.conf; + } +} + +upstream ehgt-org { + server [2a00:7c80:0:12d::38a1]:443 max_fails=4 fail_timeout=60s; + server [2a00:7c80:0:13b::37a4]:443 max_fails=4 fail_timeout=60s; + server [2a00:7c80:0:123::3a85]:443 max_fails=4 fail_timeout=60s; + server 89.39.106.43:443 max_fails=4 fail_timeout=60s; + server 62.112.8.21:443 max_fails=4 fail_timeout=60s; + server 109.236.85.28:443 max_fails=4 fail_timeout=60s; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} +server { + listen 443 ssl http2; + listen 127.0.0.2:443 ssl http2; + listen [::]:443 ssl http2; + server_name ehgt.org; + + access_log logs/E-hentai-access.log main buffer=4k; + error_log logs/E-hentai-error.log; + + include cert.conf; + + location / { + proxy_pass https://ehgt-org/; + include shared-proxy-params-1.conf; + } +} # E-Hentai End \ No newline at end of file diff --git a/conf/site-google-video.conf b/conf/site-google-video.conf index d0fb723..a9c3490 100644 --- a/conf/site-google-video.conf +++ b/conf/site-google-video.conf @@ -1,156 +1,156 @@ - -upstream Google-Video { - server 127.0.0.129:65496; - server 127.0.0.129:65497; - server 127.0.0.129:65498; - server 127.0.0.129:65499; - server 127.0.0.129:65500; - server 127.0.0.129:65501; - server 127.0.0.129:65502; - server 127.0.0.129:65503; - server 127.0.0.129:65504; -} - -log_format GoogleVideo '[$time_local]- 请求耗时"$request_time" $http_host 服务器地址:$proxy_host $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr"\n $status 总字节数$body_bytes_sent'; - -server { - listen 127.0.0.129:65496 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "offline-maps.gvt1.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65497 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "c.2mdn.net"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65498 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "bdn.dev"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65499 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "gvt1.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65500 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "xn--ngstr-lra8j.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65501 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "snap.gvt1.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65502 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "gcpcdn.gvt1.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65503 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "c.bigcache.googleapis.com"; - include GV.conf; - } -} -server { - listen 127.0.0.129:65504 ssl; - server_name *.googlevideo.com; - - include cert.conf; - location / { - set $domain_SUFFIX "c.googlesyndication.com"; - include GV.conf; - } -} - - -#  GoogleVideo.com -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - - #access_log logs/GoogleVideo-access.gzip main gzip=4 buffer=4k; - access_log off; - error_log logs/GoogleVideo-error.log; - - server_name *.googlevideo.com; - - include cert.conf; - location / { - proxy_max_temp_file_size 0; - #resolver [::1]:53 valid=180s ipv4=off ipv6=on; - proxy_pass https://Google-Video; - proxy_set_header X-Host $host; - proxy_set_header Range $http_range; - proxy_set_header If-Range $http_if_range; - include Proxy.conf; - proxy_ssl_name $host; - } -} -# GoogleVideo End - - -#  ggpht.com -upstream ggpht-com { - server [2607:f8b0:4002:c10::84]:443; -} -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - - access_log off; - error_log logs/GoogleVideo-error.log; - - server_name *.ggpht.com; - - include cert.conf; - location / { - proxy_max_temp_file_size 0; - proxy_pass https://ggpht-com; - proxy_next_upstream_timeout 30; - include proxy.conf; - proxy_set_header Range $http_range; - proxy_set_header If-Range $http_if_range; - } +upstream Google-Video { + least_conn; + server 127.0.0.129:65496; + server 127.0.0.129:65497; + server 127.0.0.129:65498; + server 127.0.0.129:65499; + server 127.0.0.129:65500; + server 127.0.0.129:65501; + server 127.0.0.129:65502; + server 127.0.0.129:65503; + server 127.0.0.129:65504; +} + +log_format GoogleVideo '[$time_local]- 请求耗时"$request_time" $http_host 服务器地址:$proxy_host $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr"\n $status 总字节数$body_bytes_sent'; + +server { + listen 127.0.0.129:65496 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "offline-maps.gvt1.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65497 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "c.2mdn.net"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65498 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "bdn.dev"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65499 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "gvt1.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65500 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "xn--ngstr-lra8j.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65501 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "snap.gvt1.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65502 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "gcpcdn.gvt1.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65503 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "c.bigcache.googleapis.com"; + include site-gv.conf; + } +} +server { + listen 127.0.0.129:65504 ssl; + server_name *.googlevideo.com; + + include cert.conf; + location / { + set $domain_SUFFIX "c.googlesyndication.com"; + include site-gv.conf; + } +} + + +#  GoogleVideo.com +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + #access_log logs/GoogleVideo-access.gzip main gzip=4 buffer=4k; + access_log off; + error_log logs/GoogleVideo-error.log; + + server_name *.googlevideo.com; + + include cert.conf; + location / { + proxy_max_temp_file_size 0; + proxy_pass https://Google-Video; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_set_header X-Host $host; + proxy_set_header Range $http_range; + proxy_set_header If-Range $http_if_range; + include shared-proxy-params-1.conf; + proxy_ssl_name $host; + } +} +# GoogleVideo End + + +#  ggpht.com +upstream ggpht-com { + server [2607:f8b0:4002:c10::84]:443; +} +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + access_log off; + error_log logs/GoogleVideo-error.log; + + server_name *.ggpht.com; + + include cert.conf; + location / { + proxy_max_temp_file_size 0; + proxy_pass https://ggpht-com; + proxy_next_upstream_timeout 30; + include shared-proxy-params-1.conf; + proxy_set_header Range $http_range; + proxy_set_header If-Range $http_if_range; + } } \ No newline at end of file diff --git a/conf/site-gv.conf b/conf/site-gv.conf index e7836fa..6626761 100644 --- a/conf/site-gv.conf +++ b/conf/site-gv.conf @@ -1,14 +1,14 @@ -proxy_max_temp_file_size 0; -keepalive_requests 10000; -resolver 119.29.29.29:53 valid=1h ipv4=off ipv6=on; -if ( $http_host ~ (([\S\s]*).googlevideo.com) ){ - proxy_pass https://$2.${domain_SUFFIX}:443; -#$2是匹配上的变量部分 -} -proxy_set_header Range $http_range; -proxy_set_header If-Range $http_if_range; -include proxy.conf; - -#access_log logs/GoogleVideo-access.log GoogleVideo buffer=4k gzip=4; -access_log off; +proxy_max_temp_file_size 0; +resolver 119.29.29.29:53 valid=1h ipv4=off ipv6=on; +if ( $http_host ~ (([\S\s]*).googlevideo.com) ){ + proxy_pass https://$2.${domain_SUFFIX}:443; +#$2是匹配上的变量部分 +} +proxy_ssl_name $proxy_host; +proxy_set_header Range $http_range; +proxy_set_header If-Range $http_if_range; +include shared-proxy-params-1.conf; + +#access_log logs/GoogleVideo-access.log GoogleVideo buffer=4k gzip=4; +access_log off; error_log logs/GoogleVideo-error.log warn; \ No newline at end of file diff --git a/conf/site-imgix.conf b/conf/site-imgix.conf new file mode 100644 index 0000000..2055faf --- /dev/null +++ b/conf/site-imgix.conf @@ -0,0 +1,42 @@ +# imgix-net Start +upstream imgix-net { + server 167.82.2.208:443; + server 167.82.22.208:443; + server 167.82.86.208:443; + server 167.82.90.208:443; + server 146.75.22.208:443; + server 146.75.114.208:443; + server 151.101.66.208:443; + server 151.101.78.208:443; + server 151.101.90.208:443; + server 151.101.110.208:443; + server 151.101.130.208:443; + server 151.101.194.208:443; + server 151.101.230.208:443; + server 199.232.210.208:443; + server 199.232.214.208:443; + server 199.232.234.208:443; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 300s; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.imgix.net; + + include cert.conf; + client_max_body_size 50M; + + location / { + proxy_max_temp_file_size 0; + proxy_pass https://imgix-net/; + proxy_buffer_size 64k; + proxy_buffers 32 64k; + proxy_busy_buffers_size 128k; + include shared-proxy-params-1.conf; + } +} +# imgix-net End \ No newline at end of file diff --git a/conf/site-imgur.conf b/conf/site-imgur.conf new file mode 100644 index 0000000..4b6317f --- /dev/null +++ b/conf/site-imgur.conf @@ -0,0 +1,44 @@ +# imgur-com Start +upstream imgur-com { + server 167.82.0.193:443; + server 167.82.20.193:443; + server 167.82.84.193:443; + server 167.82.88.193:443; + server 146.75.112.193:443; + server 146.75.20.193:443; + server 151.101.0.193:443; + server 151.101.64.193:443; + server 151.101.76.193:443; + server 151.101.88.193:443; + server 151.101.108.193:443; + server 151.101.128.193:443; + server 151.101.192.193:443; + server 151.101.228.193:443; + server 199.232.208.193:443; + server 199.232.212.193:443; + server 199.232.232.193:443; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 300s; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name imgur.com; + server_name *.imgur.com; + + include cert.conf; + client_max_body_size 50M; + + location / { + proxy_max_temp_file_size 0; + proxy_pass https://imgur-com/; + proxy_buffer_size 64k; + proxy_buffers 32 64k; + proxy_busy_buffers_size 128k; + include shared-proxy-params-1.conf; + } +} +# imgur-com End diff --git a/conf/site-iwara.conf b/conf/site-iwara.conf new file mode 100644 index 0000000..ccdd399 --- /dev/null +++ b/conf/site-iwara.conf @@ -0,0 +1,1281 @@ +# iWara Start +upstream iWara-tv { + server 66.206.15.50:443; + #server 66.206.15.52:443; + #server 66.206.15.51:443; + #server [2606:4700:20::ac43:479a]:443; + #server [2606:4700:20::681a:c60]:443; + #server [2606:4700:20::681a:d60]:443; + #server 172.67.71.154:443; + #server 104.26.13.96:443; + #server 104.26.12.96:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name iwara.tv; + server_name i.iwara.tv; + server_name ecchi.iwara.tv; + server_name www.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://iwara-tv/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name api.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://66.206.15.51/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name mikoto.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://72.52.83.99:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name piko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.57.37:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name hime.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://72.52.83.100:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name akane.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://62.210.114.100:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name akiko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.76.76:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name aku.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.40.145:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name aoki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.167.16:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name staging.iwara.tv; + server_name api.staging.iwara.tv; + server_name cdn.staging.iwara.tv; + server_name encoder.staging.iwara.tv; + server_name files.staging.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.61.17:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name arsloid.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.179.139:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name avanna.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.58:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name azuki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.86.190:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name beni.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.77.14:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name boushi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.179.4:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name bruno.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.19:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name caine.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.41:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name chika.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.182.4:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name clara.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.37.46:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name coco.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.56:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name cul.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.39.227:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name defosuke.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.179.227:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name files.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://66.165.240.194:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name gakuko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.176.206:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name galaco.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.39.32:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name gumi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://66.165.238.28:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name haku.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.168.39:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name hana.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.144:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name hatsune.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.118:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name hiyama.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.197:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ia.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://66.206.15.50:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kaai.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.159.52.12:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kagamine.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.117:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kagene.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.187.138:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kamui.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.22:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kanon.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.89:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kiki.iwara.tv; + server_name t.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.162.198:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kitano.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.98:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kohaku.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.39.30:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name kokone.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://62.210.114.118:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name komachi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.172.163:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name lily.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.167.20:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ling.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.187.40:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name lola.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.38.98:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name lorra.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.199:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name luka.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.168.15:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name lumi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.159.52.17:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name luna.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.35:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name luo.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.211.199:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name macne.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.57:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name maika.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.85.51:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name mayu.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.172.53:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name megurine.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.105:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name meiko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.37.60:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name merli.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.61.159:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name mew.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.32:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name miki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.44.153:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name miku.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://66.165.238.26:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name miku-old.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://185.229.13.11:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name minarin.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.187.3:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name minato.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.235:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name momo.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.62.89:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name neru.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.177.74:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name o1.ptr4382.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://149.72.231.151:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name observium.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.77.14:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name one.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.60:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name otomachi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.180.127:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name prima.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.85.51:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name rana.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.86.154:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name rin.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.86.186:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ring.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.180.11:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ringo.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.179.60:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name rion.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.28:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ritsu.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.85.51:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name rui.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.177.80:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ruko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.61.193:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name seeu.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.37.114:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name service.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://85.187.128.60:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name shop.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://173.249.147.155:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sonico.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.68:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sonika.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.74:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name status.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.77.14:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sue.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.180.69:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sukone.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.42.175:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name support.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://23.92.16.148:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name suzune.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.29:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name ted.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://167.114.119.21:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name tei.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.40.81:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name test.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.190.4:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name teto.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.86.188:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name tianyi.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.32:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name tohoku.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.176.145:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name tone.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.108.27:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name uni.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.80.31:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name uta.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.40.123:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name utatane.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.120:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name xin.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.81.17:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yanhe.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.201:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yuiko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.187.59:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yukari.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://163.172.56.87:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yuki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.178.105:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yuuki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://51.15.172.241:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name yuzuki.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://195.154.112.119:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name zing.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://199.231.160.178:443/; + include shared-proxy-params-iwaras.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name zunko.iwara.tv; + + include cert.conf; + location / { + proxy_pass https://62.210.114.128:443/; + include shared-proxy-params-iwaras.conf; + } +} +# iWara End \ No newline at end of file diff --git a/conf/site-pay-pal.conf b/conf/site-pay-pal.conf index 823a2a2..3bc16e0 100644 --- a/conf/site-pay-pal.conf +++ b/conf/site-pay-pal.conf @@ -1,30 +1,29 @@ - -# PayPal Start -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name checkout.paypal.com; - - include cert.conf; - - location / { - set $checkout_paypal d37t8d3i48djc7.cloudfront.net; - proxy_pass https://$checkout_paypal:443/; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name c.paypal.com; - - include cert.conf; - - location / { - set $c_paypal c-fastly.glb.paypal.com; - proxy_pass https://$c_paypal:443/; - include Proxy.conf; - } -} +# PayPal Start +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name checkout.paypal.com; + + include cert.conf; + + location / { + set $checkout_paypal d37t8d3i48djc7.cloudfront.net; + proxy_pass https://$checkout_paypal:443/; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name c.paypal.com; + + include cert.conf; + + location / { + set $c_paypal c-fastly.glb.paypal.com; + proxy_pass https://$c_paypal:443/; + include shared-proxy-params-1.conf; + } +} # PayPal End \ No newline at end of file diff --git a/conf/site-pixiv.conf b/conf/site-pixiv.conf index 3468efb..ef1241c 100644 --- a/conf/site-pixiv.conf +++ b/conf/site-pixiv.conf @@ -1,492 +1,361 @@ -upstream www-pixiv-net { - server 210.140.131.181:443; - server 210.140.131.183:443; - server 210.140.131.185:443; - server 210.140.131.219:443; - server 210.140.131.220:443; - server 210.140.131.222:443; - server 210.140.131.223:443; - server 210.140.131.224:443; - server 210.140.131.225:443; - server 210.140.131.226:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -upstream account-pixiv-net { - server 210.140.131.219:443; - server 210.140.131.223:443; - server 210.140.131.226:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -upstream ssl-pixiv-net { - server 210.140.92.192:443; - server 210.140.92.193:443; - server 210.140.92.183:443; -} - -upstream sketch-pixiv-net { - server 210.140.174.37:443; - server 210.140.170.179:443; - server 210.140.175.130:443; -} - -upstream sketch-hls-server { - server 210.140.214.211:443; - server 210.140.214.212:443; - server 210.140.214.213:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -upstream imgaz-pixiv-net { - server 210.140.131.145:443; - server 210.140.131.144:443; - server 210.140.131.147:443; - server 210.140.131.153:443; -} - -upstream i-pximg-net { - server 210.140.92.141:443; - server 210.140.92.142:443; - server 210.140.92.143:443; - server 210.140.92.144:443; - server 210.140.92.145:443; - server 210.140.92.146:443; - server 210.140.92.148:443; - server 210.140.92.149:443; - server 210.140.139.131:443; - server 210.140.139.132:443; - server 210.140.139.133:443; - server 210.140.139.134:443; - server 210.140.139.135:443; - server 210.140.139.136:443; - - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -upstream fanbox-cc { - server 210.140.92.179:443; - server 210.140.92.180:443; - server 210.140.92.181:443; - server 210.140.92.182:443; - server 210.140.92.183:443; - server 210.140.92.184:443; - server 210.140.92.185:443; - server 210.140.92.186:443; - server 210.140.92.187:443; - keepalive 16; - keepalive_timeout 120; - keepalive_requests 10000; -} - -upstream app-api-pixiv-net { - server 210.140.131.218:443; - server 210.140.131.223:443; - server 210.140.131.226:443; -} - -upstream AkamaiCDN { - server 184.27.185.73:443; - server 184.27.185.76:443; - server 184.26.43.79:443; - server 184.26.43.80:443; - server 184.26.91.162:443; - server 184.26.91.47:443; - server 23.48.201.10:443; - server 23.48.201.16:443; - server 23.48.201.33:443; - server 23.48.201.34:443; - server 23.49.104.47:443; - server 23.49.104.48:443; - server 23.49.104.197:443; - server 23.49.104.200:443; - server 23.49.104.201:443; - server 23.49.104.202:443; - server 23.202.34.90:443; - server 23.202.34.91:443; - server 23.202.34.120:443; - server 23.202.34.250:443; - server 23.202.35.57:443; - server 23.202.35.90:443; - server 23.202.35.120:443; - server 23.202.35.250:443; - keepalive 16; - keepalive_time 1h; - keepalive_timeout 120; - keepalive_requests 10000; -} - -# default_server Start -server { - listen 80 default_server; - listen [::]:80 default_server; - access_log off; - rewrite ^(.*) https://$host$1 permanent; -} -# default_server End - -# Pixiv Start -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name www.pixiv.net; - - include cert.conf; - - client_max_body_size 50M; - - location / { - proxy_pass https://www-pixiv-net; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name accounts.pixiv.net; - server_name oauth.secure.pixiv.net; - server_name source.pixiv.net; - server_name app-api.pixiv.net; - server_name payment.pixiv.net; - server_name sensei.pixiv.net; - server_name dic.pixiv.net; - server_name en-dic.pixiv.net; - - include cert.conf; - - client_max_body_size 50M; - - location / { - proxy_pass https://account-pixiv-net/; - include Proxy.conf; - } -} - - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name pixiv.net; - server_name ssl.pixiv.net; - server_name touch.pixiv.net; - server_name factory.pixiv.net; - server_name fanbox.pixiv.net; - - include cert.conf; - - client_max_body_size 50M; - - location / { - proxy_pass https://ssl-pixiv-net; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name *.pximg.net; - - include cert.conf; - - location / { - proxy_pass https://i-pximg-net; - include Proxy.conf; - proxy_next_upstream_timeout 60; - proxy_set_header Referer "https://www.pixiv.net/"; - proxy_set_header Sec-Fetch-Site "cross-site"; - allow all; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name downloads.fanbox.cc; - server_name *.fanbox.cc; - - include cert.conf; - - location / { - proxy_pass https://fanbox-cc/; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name sketch.pixiv.net; - - include cert.conf; - - location / { - proxy_pass https://sketch-pixiv-net; - include Proxy.conf; - } - - # Proxying WebSockets - location /ws/ { - proxy_pass https://sketch-pixiv-net; - include proxy.params; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name *.pixivsketch.net; - - include cert.conf; - - location / { - proxy_pass https://sketch-hls-server; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name imgaz.pixiv.net; - server_name comic.pixiv.net; - server_name novel.pixiv.net; - server_name i1.pixiv.net; - server_name i2.pixiv.net; - server_name i3.pixiv.net; - server_name i4.pixiv.net; - - - include cert.conf; - - location / { - proxy_pass https://imgaz-pixiv-net; - include Proxy.conf; - } -} -# Pixiv End - -# Wiki Start -upstream wikipedia-text-lb { - server 208.80.153.224:443; - server 185.15.58.224:443; - server [2620:0:863:ed1a::1]:443; - server [2620:0:861:ed1a::1]:443; - server [2620:0:860:ed1a::1]:443; - server [2001:df2:e500:ed1a::1]:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name *.wikipedia.org; - server_name *.m.wikipedia.org; - server_name wikimedia.org; - server_name *.wikimedia.org; - server_name *.m.wikimedia.org; - - include cert.conf; - - location / { - proxy_pass https://wikipedia-text-lb/; - include Proxy.conf; - } -} - -upstream wikipedia-upload-lb { - server 208.80.153.240:443; - server 208.80.154.240:443; - server [2620:0:863:ed1a::2:b]:443; - server [2620:0:861:ed1a::2:b]:443; - server [2620:0:860:ed1a::2:b]:443; - server [2001:df2:e500:ed1a::2:b]:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name upload.wikimedia.org; - - include cert.conf; - - location / { - proxy_pass https://wikipedia-upload-lb/; - include Proxy.conf; - } -} -# Wiki End - -# archiveofourown Start -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name *.archiveofourown.org; - server_name archiveofourown.org; - - include cert.conf; - - location / { - proxy_pass https://104.153.64.122:443/; - include Proxy.conf; - } -} -# archiveofourown End - -# Nyaa Start -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name sukebei.nyaa.si; - - include cert.conf; - - location / { - proxy_pass https://198.251.89.38:443/; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name nyaa.si; - server_name www.nyaa.si; - - include cert.conf; - - location / { - proxy_pass https://185.178.208.182:443/; - include Proxy.conf; - } -} -# Nyaa End - -# github Start -upstream Github-com { - server 20.205.243.166:443; - server 20.27.177.113:443; - server 20.200.245.247:443; -} - -upstream githubusercontent-com { - server 185.199.109.133:443; - server 185.199.108.133:443; - server 185.199.110.133:443; - server 185.199.111.133:443; - server 146.75.112.133:443; - server 146.75.20.133:443; - server 151.101.64.133:443; - server 151.101.76.133:443; - #server 151.101.108.133:443; - server 151.101.128.133:443; - server 151.101.192.133:443; - #server 151.101.228.133:443; - server 199.232.208.133:443; - server 199.232.212.133:443; - server 199.232.232.133:443; - server [2a04:4e42:75::133]:443; - server [2a04:4e42:76::133]:443; - server [2a04:4e42:82::133]:443; - server [2a04:4e42:8c::133]:443; - server [2a04:4e42:4d::133]:443; - server [2a04:4e42:4c::133]:443; - - server [2a04:4e42:12::133]:443; - server [2a04:4e42:15::133]:443; - server [2a04:4e42:1a::133]:443; - server [2a04:4e42:36::133]:443; - server [2a04:4e42:48::133]:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name github.com; - server_name *.github.com; - - include cert.conf; - - location / { - proxy_pass https://Github-com/; - include Proxy.conf; - proxy_headers_hash_max_size 8192; - proxy_buffer_size 128k; - proxy_buffers 4 256k; - proxy_busy_buffers_size 256k; - } -} - -server { - listen 80; - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name githubusercontent.com; - server_name *.githubusercontent.com; - server_name githubassets.com; - server_name *.githubassets.com; - - include cert.conf; - - location / { - proxy_pass https://githubusercontent-com/; - include Proxy.conf; - proxy_set_header Range $http_range; - proxy_set_header If-Range $http_if_range; - } -} -# github End - -# EA Start - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name origin-a.akamaihd.net; - - include cert.conf; - - location / { - proxy_pass https://AkamaiCDN/; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name api1.origin.com; - - include cert.conf; - - location / { - set $rewrite_host "api2.origin.com"; - proxy_pass https://$rewrite_host/; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name pc.ea.com; - - include cert.conf; - - location / { - set $rewrite_host "e8688.e12.akamaiedge.net"; - proxy_pass https://$rewrite_host/; - include Proxy.conf; - } -} +upstream www-pixiv-net { + server 210.140.139.154:443; + server 210.140.139.155:443; + server 210.140.139.156:443; + server 210.140.139.157:443; + server 210.140.139.158:443; + server 210.140.139.159:443; + server 210.140.139.160:443; + server 210.140.139.161:443; + server 210.140.139.162:443; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +upstream sketch-hls-server { + server 210.140.139.172:443; + server 210.140.139.173:443; + server 210.140.139.174:443; + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +upstream i-pximg-net { + server 210.140.92.141:443; + server 210.140.92.142:443; + server 210.140.92.143:443; + server 210.140.92.144:443; + server 210.140.92.145:443; + server 210.140.92.146:443; + server 210.140.92.148:443; + server 210.140.92.149:443; + server 210.140.139.131:443; + server 210.140.139.132:443; + server 210.140.139.133:443; + server 210.140.139.134:443; + server 210.140.139.135:443; + server 210.140.139.136:443; + + keepalive 16; + keepalive_timeout 120; + keepalive_requests 10000; +} + +upstream AkamaiCDN { + server 184.27.185.73:443; + server 184.27.185.76:443; + server 184.26.43.79:443; + server 184.26.43.80:443; + server 184.26.91.162:443; + server 184.26.91.47:443; + server 23.48.201.10:443; + server 23.48.201.16:443; + server 23.48.201.33:443; + server 23.48.201.34:443; + server 23.49.104.47:443; + server 23.49.104.48:443; + server 23.49.104.197:443; + server 23.49.104.200:443; + server 23.49.104.201:443; + server 23.49.104.202:443; + server 23.202.34.90:443; + server 23.202.34.91:443; + server 23.202.34.120:443; + server 23.202.34.250:443; + server 23.202.35.57:443; + server 23.202.35.90:443; + server 23.202.35.120:443; + server 23.202.35.250:443; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 120; + keepalive_requests 10000; +} + +# default_server Start +server { + listen 80 default_server; + listen [::]:80 default_server; + access_log off; + rewrite ^(.*) https://$host$1 permanent; +} +# default_server End + +# Pixiv Start +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name www.pixiv.net; + server_name pixiv.net; + server_name *.pixiv.net; + server_name downloads.fanbox.cc; + server_name *.fanbox.cc; + + include cert.conf; + + client_max_body_size 50M; + + location / { + proxy_pass https://www-pixiv-net; + include shared-proxy-params-1.conf; + } + + # Proxying WebSockets + location /ws/ { + proxy_pass https://www-pixiv-net; + include shared-proxy-params-2.conf; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.pximg.net; + + include cert.conf; + + location / { + proxy_pass https://i-pximg-net; + include shared-proxy-params-1.conf; + proxy_next_upstream_timeout 60; + proxy_set_header Referer "https://www.pixiv.net/"; + proxy_set_header Sec-Fetch-Site "cross-site"; + allow all; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.pixivsketch.net; + + include cert.conf; + + location / { + proxy_pass https://sketch-hls-server; + include shared-proxy-params-1.conf; + } +} +# Pixiv End + +# Wiki Start +upstream wikipedia-text-lb { + server 208.80.153.224:443; + server 185.15.58.224:443; + server [2620:0:863:ed1a::1]:443; + server [2620:0:861:ed1a::1]:443; + server [2620:0:860:ed1a::1]:443; + server [2001:df2:e500:ed1a::1]:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.wikipedia.org; + server_name *.m.wikipedia.org; + server_name wikimedia.org; + server_name *.wikimedia.org; + server_name *.m.wikimedia.org; + + include cert.conf; + + location / { + proxy_pass https://wikipedia-text-lb/; + include shared-proxy-params-1.conf; + } +} + +upstream wikipedia-upload-lb { + server 208.80.153.240:443; + server 208.80.154.240:443; + server [2620:0:863:ed1a::2:b]:443; + server [2620:0:861:ed1a::2:b]:443; + server [2620:0:860:ed1a::2:b]:443; + server [2001:df2:e500:ed1a::2:b]:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name upload.wikimedia.org; + + include cert.conf; + + location / { + proxy_pass https://wikipedia-upload-lb/; + include shared-proxy-params-1.conf; + } +} +# Wiki End + +# archiveofourown Start +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.archiveofourown.org; + server_name archiveofourown.org; + + include cert.conf; + + location / { + proxy_pass https://104.153.64.122:443/; + include shared-proxy-params-1.conf; + } +} +# archiveofourown End + +# Nyaa Start +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name sukebei.nyaa.si; + + include cert.conf; + + location / { + proxy_pass https://198.251.89.38:443/; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name nyaa.si; + server_name www.nyaa.si; + + include cert.conf; + + location / { + proxy_pass https://185.178.208.182:443/; + include shared-proxy-params-1.conf; + } +} +# Nyaa End + +# github Start +upstream Github-com { + server 20.205.243.166:443; + server 20.27.177.113:443; + server 20.200.245.247:443; +} + +upstream githubusercontent-com { + server 185.199.109.133:443; + server 185.199.108.133:443; + server 185.199.110.133:443; + server 185.199.111.133:443; + server 167.82.0.133:443; + server 167.82.20.133:443; + server 167.82.84.133:443; + server 167.82.88.133:443; + server 146.75.112.133:443; + server 146.75.20.133:443; + server 151.101.64.133:443; + server 151.101.76.133:443; + #server 151.101.108.133:443; + server 151.101.128.133:443; + server 151.101.192.133:443; + #server 151.101.228.133:443; + server 199.232.208.133:443; + server 199.232.212.133:443; + server 199.232.232.133:443; + server [2a04:4e42:75::133]:443; + server [2a04:4e42:76::133]:443; + server [2a04:4e42:82::133]:443; + server [2a04:4e42:8c::133]:443; + server [2a04:4e42:4d::133]:443; + server [2a04:4e42:4c::133]:443; + + server [2a04:4e42:12::133]:443; + server [2a04:4e42:15::133]:443; + server [2a04:4e42:1a::133]:443; + server [2a04:4e42:36::133]:443; + server [2a04:4e42:48::133]:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name github.com; + server_name *.github.com; + + include cert.conf; + + location / { + proxy_pass https://Github-com/; + include shared-proxy-params-1.conf; + proxy_headers_hash_max_size 8192; + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; + } +} + +server { + listen 80; + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name githubusercontent.com; + server_name *.githubusercontent.com; + server_name githubassets.com; + server_name *.githubassets.com; + + include cert.conf; + + location / { + proxy_pass https://githubusercontent-com/; + include shared-proxy-params-1.conf; + proxy_set_header Range $http_range; + proxy_set_header If-Range $http_if_range; + } +} +# github End + +# EA Start + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name origin-a.akamaihd.net; + + include cert.conf; + + location / { + proxy_pass https://AkamaiCDN/; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name api1.origin.com; + + include cert.conf; + + location / { + set $rewrite_host "api2.origin.com"; + proxy_pass https://$rewrite_host/; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name pc.ea.com; + + include cert.conf; + + location / { + set $rewrite_host "e8688.e12.akamaiedge.net"; + proxy_pass https://$rewrite_host/; + include shared-proxy-params-1.conf; + } +} # EA End \ No newline at end of file diff --git a/conf/site-steam-cdn..conf b/conf/site-steam-cdn..conf index bcf8960..c2a4c3c 100644 --- a/conf/site-steam-cdn..conf +++ b/conf/site-steam-cdn..conf @@ -1,14 +1,14 @@ -resolver 119.29.29.29 valid=300 ipv4=on ipv6=on;# ipv4=on ipv6=off -proxy_pass https://$rewrite_host; -proxy_http_version 1.1; -proxy_connect_timeout 3; -keepalive_timeout 120; -proxy_set_header Connection ""; -proxy_set_header Host $rewrite_host; -proxy_set_header User-Agent $http_user_agent; -proxy_set_header Accept-Encoding ''; -proxy_buffering off; -proxy_ssl_server_name off; - -access_log off; +resolver 119.29.29.29 valid=300 ipv4=on ipv6=on;# ipv4=on ipv6=off +proxy_pass https://$rewrite_host; +proxy_http_version 1.1; +proxy_connect_timeout 3; +keepalive_timeout 120; +proxy_set_header Connection ""; +proxy_set_header Host $rewrite_host; +proxy_set_header User-Agent $http_user_agent; +proxy_set_header Accept-Encoding ''; +proxy_buffering off; +proxy_ssl_server_name off; + +access_log off; error_log logs/SteamCDN-error.log; \ No newline at end of file diff --git a/conf/site-steam.conf b/conf/site-steam.conf index 176098a..bdab22f 100644 --- a/conf/site-steam.conf +++ b/conf/site-steam.conf @@ -1,247 +1,361 @@ -upstream steam-store { - #server 184.24.82.108:443 max_fails=5 fail_timeout=60s;#HighPing - #server 23.1.179.144:443 max_fails=5 fail_timeout=60s;#HighPing - #server 23.195.152.91:443 max_fails=5 fail_timeout=60s;#HighPing - server 104.71.48.121:443 max_fails=5 fail_timeout=60s; - server 23.45.56.78:443 max_fails=5 fail_timeout=60s; - server 184.85.112.102:443 max_fails=5 fail_timeout=60s; - server 184.87.103.42:443 max_fails=5 fail_timeout=60s; - server 23.77.215.46:443 max_fails=5 fail_timeout=60s;# - server 23.51.142.168:443 max_fails=5 fail_timeout=60s;# - server 23.41.77.6:443 max_fails=5 fail_timeout=60s;# - server 23.36.106.129:443 max_fails=5 fail_timeout=60s;#HighPing - server 23.36.252.78:443 max_fails=5 fail_timeout=60s;#HighPing - server 23.208.81.63:443 max_fails=5 fail_timeout=60s;# - server 23.200.148.81:443 max_fails=5 fail_timeout=60s;# - server 23.200.152.81:443 max_fails=5 fail_timeout=60s;# - server 23.219.73.99:443 max_fails=5 fail_timeout=60s;# - server 23.211.57.127:443 max_fails=5 fail_timeout=60s;# - server 23.219.69.47:443 max_fails=5 fail_timeout=60s;# - server 23.48.229.101:443 max_fails=5 fail_timeout=60s;# - keepalive 16; - keepalive_time 1h; - keepalive_timeout 120; - keepalive_requests 10000; -} -upstream steam-community { - server 23.1.179.144:443; - server 104.103.145.69:443; - server 104.91.87.202:443; -} - -#upstream steam-community302 { -# server str001.steam302.xyz:443; -# server str002.steam302.xyz:443; -# server str003.steam302.xyz:443; -#} - -# Steam Start -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name *.steamcommunity.com; - server_name steamcommunity.com; - - include cert.conf; - - location ^.*(discussions|comment|forum).*$ { - set $rewrite_host "str003.steam302.xyz"; - proxy_pass https://$rewrite_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real_IP $remote_addr; - include proxy.params; - } - - location / { - proxy_pass https://steam-community/; - - proxy_next_upstream_timeout 60; - include Proxy.conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - #resolver public1.alidns.com valid=300; - server_name store.steampowered.com; - server_name api.steampowered.com; - server_name checkout.steampowered.com; - server_name help.steampowered.com; - server_name login.steampowered.com; - server_name steampowered.com; - - include cert.conf; - #access_log logs/SteamCDN-access.log main; - access_log off; - error_log logs/SteamCDN-error.log; - - location / { - proxy_pass https://steam-store/; - proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; - proxy_next_upstream_timeout 90; - include Proxy.conf; - #proxy_ssl_name $http_host; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name community.akamai.steamstatic.com; - server_name community.cloudflare.steamstatic.com; - server_name community.steamstatic.com; - - include cert.conf; - - location / { - proxy_pass https://AkamaiCDN; - proxy_http_version 1.1; - proxy_next_upstream_timeout 60; - proxy_connect_timeout 5; - keepalive_timeout 120; - proxy_set_header Connection ""; - proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; - proxy_set_header Host "community.steamstatic.com"; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_ssl_server_name off; - proxy_ssl_name "community.steamstatic.com"; - proxy_buffering off; - access_log off; - error_log logs/SteamCDN-error.log; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name steamuserimages-a.akamaihd.net; - server_name steamcdn-a.akamaihd.net; - server_name steamcommunity-a.akamaihd.net; - - include cert.conf; - - location / { - #set $rewrite_host "${http_host}.edgesuite.net"; - #proxy_pass https://$rewrite_host; - proxy_pass https://AkamaiCDN; - include Proxy.conf; - proxy_ssl_name $http_host; - access_log off; - error_log logs/SteamCDN-error.log; - } -} - -#SteamStatic 国内cdn:白山云eccdnx:st.dl.eccdnx.com -#阿里昆仑雀牛云cdn.queniuqe.com -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name cdn.cloudflare.steamstatic.com cdn.akamai.steamstatic.com cdn.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "media.st.dl.eccdnx.com"; - include SteamCDN..conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name clan.steamstatic.com clan.akamai.steamstatic.com clan.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "clan.st.dl.eccdnx.com"; - include SteamCDN..conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name avatars.steamstatic.com avatars.akamai.steamstatic.com avatars.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "avatars.st.dl.eccdnx.com"; - include SteamCDN..conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name store.steamstatic.com store.akamai.steamstatic.com store.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "store.st.dl.eccdnx.com"; - include SteamCDN..conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name shared.steamstatic.com shared.akamai.steamstatic.com shared.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "shared.st.dl.eccdnx.com"; - include SteamCDN..conf; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name video.steamstatic.com video.akamai.steamstatic.com video.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "video.steamstatic.com.edgesuite.net"; - resolver public1.alidns.com valid=300 ipv4=on ipv6=off; - proxy_pass https://$rewrite_host; - proxy_http_version 1.1; - proxy_connect_timeout 5; - keepalive_timeout 120; - proxy_set_header Connection ""; - proxy_set_header Host "video.steamstatic.com"; - proxy_set_header User-Agent $http_user_agent; - proxy_set_header Accept-Encoding ''; - proxy_buffering off; - proxy_ssl_server_name off; - proxy_ssl_name "video.steamstatic.com"; - access_log off; - error_log logs/SteamCDN-error.log; - } -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name steambroadcast.akamaized.net broadcast.akamai.steamstatic.com broadcast.cloudflare.steamstatic.com; - - include cert.conf; - - location / { - set $rewrite_host "${http_host}.edgesuite.net"; - resolver public1.alidns.com valid=300 ipv4=on ipv6=off; - proxy_pass https://AkamaiCDN; - include Proxy.conf; - #proxy_ssl_name $source_host; - access_log off; - error_log logs/SteamCDN-error.log; - } -} - -# Steam End +upstream steam-store { + ip_hash; + #server 184.24.82.108:443 max_fails=5 fail_timeout=60s;#HighPing + #server 23.1.179.144:443 max_fails=5 fail_timeout=60s;#HighPing + #server 23.195.152.91:443 max_fails=5 fail_timeout=60s;#HighPing + server 96.7.99.225:443 max_fails=5 fail_timeout=60s; + server 104.75.41.21:443 max_fails=5 fail_timeout=60s;#HighPing + server 104.76.74.15:443 max_fails=5 fail_timeout=60s;#HighPing + server 104.69.160.135:443 max_fails=5 fail_timeout=60s;#HighPing + server 104.71.48.121:443 max_fails=5 fail_timeout=60s; + server 104.71.154.102:443 max_fails=5 fail_timeout=60s; + server 104.87.193.17:443 max_fails=5 fail_timeout=60s;#HighPing + server 104.116.17.119:443 max_fails=5 fail_timeout=60s;#HighPing + server 118.215.187.181:443 max_fails=5 fail_timeout=60s; + #server 184.26.241.15:443 max_fails=5 fail_timeout=60s; + server 184.85.112.102:443 max_fails=5 fail_timeout=60s; + server 184.87.103.42:443 max_fails=5 fail_timeout=60s; + server 23.45.56.78:443 max_fails=5 fail_timeout=60s; + server 23.35.228.101:443 max_fails=5 fail_timeout=60s; + server 23.36.106.129:443 max_fails=5 fail_timeout=60s;#HighPing + server 23.36.252.78:443 max_fails=5 fail_timeout=60s;#HighPing + server 23.40.149.119:443 max_fails=5 fail_timeout=60s; + server 23.41.77.6:443 max_fails=5 fail_timeout=60s; + server 23.41.142.46:443 max_fails=5 fail_timeout=60s; + server 23.46.197.62:443 max_fails=5 fail_timeout=60s; + server 23.48.229.101:443 max_fails=5 fail_timeout=60s; + server 23.51.142.168:443 max_fails=5 fail_timeout=60s; + server 23.56.21.158:443 max_fails=5 fail_timeout=60s; + server 23.77.13.219:443 max_fails=5 fail_timeout=60s; + #server 23.77.215.46:443 max_fails=5 fail_timeout=60s; + #server 23.199.225.125:443 max_fails=5 fail_timeout=60s;#HighPing + server 23.200.148.81:443 max_fails=5 fail_timeout=60s; + server 23.200.152.81:443 max_fails=5 fail_timeout=60s; + server 23.208.81.63:443 max_fails=5 fail_timeout=60s; + server 23.211.57.127:443 max_fails=5 fail_timeout=60s; + server 23.215.161.136:443 max_fails=5 fail_timeout=60s; + server 23.219.69.47:443 max_fails=5 fail_timeout=60s; + server 23.219.73.99:443 max_fails=5 fail_timeout=60s; + server 184.50.187.66:443 max_fails=5 fail_timeout=60s; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 120; + keepalive_requests 10000; +} +upstream steam-Full { + #server 23.1.179.144:443; + ip_hash; + server 96.7.99.225:443; + server 104.69.45.52:443; + server 104.69.160.135:443; + server 104.71.154.102:443; + server 104.75.41.21:443; + server 104.76.74.15:443; + server 104.91.87.202:443; + server 104.103.145.69:443; + server 118.215.187.181:443; + server 173.222.146.99:443; + #server 184.26.241.15:443; + server 184.50.187.66:443; + server 184.85.112.102:443; + server 23.36.106.129:443; + server 23.41.77.6:443; + server 23.41.142.46:443; + server 23.51.142.168:443; + server 23.77.13.219:443; +} + +#upstream steam-community302 { +# server str001.steam302.xyz:443; +# server str002.steam302.xyz:443; +# server str003.steam302.xyz:443; +#} + +# Steam Start +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.steamcommunity.com; + server_name steamcommunity.com; + + include cert.conf; + + location ^.*(discussions|comment|forum).*$ { + set $rewrite_host "str001.steam302.xyz"; + proxy_pass https://$rewrite_host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Real_IP $remote_addr; + include shared-proxy-params-2.conf; + } + + location / { + proxy_pass https://steam-Full/; + + proxy_next_upstream_timeout 60; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + #resolver public1.alidns.com valid=300; + server_name store.steampowered.com; + server_name checkout.steampowered.com; + server_name steampowered.com; + + include cert.conf; + access_log off; + error_log logs/SteamCDN-error.log; + + location / { + proxy_pass https://steam-store/; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_next_upstream_timeout 90; + include shared-proxy-params-1.conf; + #proxy_ssl_name $http_host; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name api.steampowered.com; + server_name login.steampowered.com; + server_name help.steampowered.com; + + include cert.conf; + access_log off; + error_log logs/SteamCDN-error.log; + + location / { + proxy_pass https://steam-Full/; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_next_upstream_timeout 90; + include shared-proxy-params-1.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name community.akamai.steamstatic.com; + server_name community.cloudflare.steamstatic.com; + server_name community.steamstatic.com; + + include cert.conf; + + location / { + proxy_pass https://AkamaiCDN; + proxy_http_version 1.1; + proxy_next_upstream_timeout 60; + proxy_connect_timeout 5; + keepalive_timeout 120; + proxy_set_header Connection ""; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_set_header Host "community.steamstatic.com"; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_ssl_server_name off; + proxy_ssl_name "community.steamstatic.com"; + proxy_buffering off; + access_log off; + error_log logs/SteamCDN-error.log; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name community.fastly.steamstatic.com; + server_name community.cloudflare.steamstatic.com; + + include cert.conf; + + location / { + proxy_pass https://steam-fastly; + proxy_http_version 1.1; + proxy_next_upstream_timeout 60; + proxy_connect_timeout 5; + keepalive_timeout 120; + proxy_set_header Connection ""; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_set_header Host "community.fastly.steamstatic.com"; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_ssl_server_name on; + proxy_ssl_name "community.fastly.steamstatic.com"; + proxy_buffering off; + access_log off; + error_log logs/SteamCDN-error.log; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name steamuserimages-a.akamaihd.net; + server_name steamcdn-a.akamaihd.net; + server_name steamcommunity-a.akamaihd.net; + + include cert.conf; + + location / { + #set $rewrite_host "${http_host}.edgesuite.net"; + resolver public1.alidns.com valid=300 ipv4=on ipv6=off; + #proxy_pass https://$rewrite_host; + proxy_pass https://AkamaiCDN; + include shared-proxy-params-1.conf; + proxy_ssl_name $http_host; + access_log off; + error_log logs/SteamCDN-error.log; + } +} + +#SteamStatic 国内cdn:白山云eccdnx:st.dl.eccdnx.com +#阿里昆仑雀牛云cdn.queniuqe.com +#Fastly : cdn,media,clan,avatars,video,shared +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name cdn.cloudflare.steamstatic.com cdn.akamai.steamstatic.com cdn.steamstatic.com cdn.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "media.st.dl.eccdnx.com"; + include site-steam-cdn..conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name clan.steamstatic.com clan.akamai.steamstatic.com clan.cloudflare.steamstatic.com clan.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "clan.st.dl.eccdnx.com"; + include site-steam-cdn..conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name avatars.steamstatic.com avatars.akamai.steamstatic.com avatars.cloudflare.steamstatic.com avatars.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "avatars.st.dl.eccdnx.com"; + include site-steam-cdn..conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name store.steamstatic.com store.akamai.steamstatic.com store.cloudflare.steamstatic.com store.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "store.st.dl.eccdnx.com"; + include site-steam-cdn..conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name shared.steamstatic.com shared.akamai.steamstatic.com shared.cloudflare.steamstatic.com shared.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "shared.st.dl.eccdnx.com"; + include site-steam-cdn..conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name video.steamstatic.com video.akamai.steamstatic.com video.cloudflare.steamstatic.com video.fastly.steamstatic.com; + + include cert.conf; + + location / { + set $rewrite_host "video.steamstatic.com.edgesuite.net"; + resolver public1.alidns.com valid=300 ipv4=on ipv6=off; + proxy_pass https://$rewrite_host; + proxy_http_version 1.1; + proxy_connect_timeout 5; + keepalive_timeout 120; + proxy_set_header Connection ""; + proxy_set_header Host "video.steamstatic.com"; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_buffering off; + proxy_ssl_server_name off; + proxy_ssl_name "video.steamstatic.com"; + access_log off; + error_log logs/SteamCDN-error.log; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.akamai.steamstatic.com; + server_name steambroadcast.akamaized.net broadcast.akamai.steamstatic.com broadcast.cloudflare.steamstatic.com; + + include cert.conf; + + location / { + proxy_pass https://AkamaiCDN; + include shared-proxy-params-1.conf; + access_log off; + error_log logs/SteamCDN-error.log; + } +} + +upstream steam-fastly { + ip_hash; + server 167.82.3.52:443; + server 167.82.23.52:443; + server 167.82.87.52:443; + server 167.82.91.52:443; + server 146.75.115.52:443; + server 146.75.23.52:443; + server 151.101.67.52:443; + server 151.101.79.52:443; + server 151.101.91.52:443; + server 151.101.111.52:443; + server 151.101.131.52:443; + server 151.101.195.52:443; + server 151.101.231.52:443; + server 199.232.211.52:443; + server 199.232.215.52:443; + server 199.232.235.52:443; +} +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name *.fastly.steamstatic.com; + + include cert.conf; + access_log off; + error_log logs/SteamCDN-error.log; + + location / { + proxy_pass https://steam-fastly/; + proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; + proxy_next_upstream_timeout 90; + include shared-proxy-params-1.conf; + proxy_ssl_name $http_host; + } +} +# Steam End \ No newline at end of file diff --git a/conf/site-wall-haven.conf b/conf/site-wall-haven.conf index 243c377..3af43e4 100644 --- a/conf/site-wall-haven.conf +++ b/conf/site-wall-haven.conf @@ -1,31 +1,31 @@ -# WallHaven Start -upstream WallHaven-cc { - server 15.235.80.145:443; -} - -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name wallhaven.cc; - server_name w.wallhaven.cc; - server_name www.wallhaven.cc; - server_name th.wallhaven.cc; - server_name static.wallhaven.cc; - server_name alpha.wallhaven.cc; - - include cert.conf; - client_max_body_size 50M; - - location / { - proxy_max_temp_file_size 0; - proxy_pass https://15.235.80.145/; - proxy_buffer_size 64k; - proxy_buffers 32 64k; - proxy_busy_buffers_size 128k; - #proxy_set_header X-Host $host; - #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - #proxy_set_header X-Real_IP $remote_addr; - include Proxy.conf; - } -} +# WallHaven Start +upstream WallHaven-cc { + server 15.235.80.145:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name wallhaven.cc; + server_name w.wallhaven.cc; + server_name www.wallhaven.cc; + server_name th.wallhaven.cc; + server_name static.wallhaven.cc; + server_name alpha.wallhaven.cc; + + include cert.conf; + client_max_body_size 50M; + + location / { + proxy_max_temp_file_size 0; + proxy_pass https://15.235.80.145/; + proxy_buffer_size 64k; + proxy_buffers 32 64k; + proxy_busy_buffers_size 128k; + #proxy_set_header X-Host $host; + #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + #proxy_set_header X-Real_IP $remote_addr; + include shared-proxy-params-1.conf; + } +} # WallHaven End \ No newline at end of file diff --git a/hosts b/hosts index 6f2719b..afc4281 100644 --- a/hosts +++ b/hosts @@ -1,130 +1,608 @@ -#UTF-8 encoded -#www.google.com域名仅用于登陆验证 -#如果你不需要这个功能,请把下一行删掉 -127.0.0.1 www.google.com - -#Pixiv Start -127.0.0.1 pixiv.net -127.0.0.1 www.pixiv.net -127.0.0.1 ssl.pixiv.net -127.0.0.1 accounts.pixiv.net -127.0.0.1 touch.pixiv.net -127.0.0.1 oauth.secure.pixiv.net -127.0.0.1 dic.pixiv.net -127.0.0.1 en-dic.pixiv.net -127.0.0.1 sketch.pixiv.net -127.0.0.1 payment.pixiv.net -127.0.0.1 factory.pixiv.net -127.0.0.1 comic.pixiv.net -127.0.0.1 novel.pixiv.net -127.0.0.1 imgaz.pixiv.net -127.0.0.1 sensei.pixiv.net -127.0.0.1 fanbox.pixiv.net -127.0.0.1 source.pixiv.net -127.0.0.1 i1.pixiv.net -127.0.0.1 i2.pixiv.net -127.0.0.1 i3.pixiv.net -127.0.0.1 i4.pixiv.net -127.0.0.1 hls1.pixivsketch.net -127.0.0.1 hls2.pixivsketch.net -127.0.0.1 hls3.pixivsketch.net -127.0.0.1 hls4.pixivsketch.net -127.0.0.1 hls5.pixivsketch.net -127.0.0.1 hls6.pixivsketch.net -127.0.0.1 hls7.pixivsketch.net -127.0.0.1 hls8.pixivsketch.net -127.0.0.1 hls9.pixivsketch.net -127.0.0.1 hls10.pixivsketch.net -127.0.0.1 hls11.pixivsketch.net -127.0.0.1 hls12.pixivsketch.net -127.0.0.1 hls13.pixivsketch.net -127.0.0.1 hls14.pixivsketch.net -127.0.0.1 hls15.pixivsketch.net -127.0.0.1 hls16.pixivsketch.net -127.0.0.1 hls17.pixivsketch.net -127.0.0.1 hls18.pixivsketch.net -127.0.0.1 hls19.pixivsketch.net -127.0.0.1 hls20.pixivsketch.net -127.0.0.1 hlsa1.pixivsketch.net -127.0.0.1 hlsa2.pixivsketch.net -127.0.0.1 hlsa3.pixivsketch.net -127.0.0.1 hlsa4.pixivsketch.net -127.0.0.1 hlsa5.pixivsketch.net -127.0.0.1 hlsa6.pixivsketch.net -127.0.0.1 hlsa7.pixivsketch.net -127.0.0.1 hlsa8.pixivsketch.net -127.0.0.1 hlsa10.pixivsketch.net -127.0.0.1 hlsa11.pixivsketch.net -127.0.0.1 hlsa12.pixivsketch.net -127.0.0.1 hlsa13.pixivsketch.net -127.0.0.1 hlsa14.pixivsketch.net -127.0.0.1 hlsa15.pixivsketch.net -127.0.0.1 hlsa16.pixivsketch.net -127.0.0.1 hlsa17.pixivsketch.net -127.0.0.1 hlsa18.pixivsketch.net -127.0.0.1 hlsa19.pixivsketch.net -127.0.0.1 hlsc1.pixivsketch.net -127.0.0.1 hlsc2.pixivsketch.net -127.0.0.1 hlsc3.pixivsketch.net -127.0.0.1 hlsc4.pixivsketch.net -127.0.0.1 hlsc5.pixivsketch.net -127.0.0.1 hlsc6.pixivsketch.net -127.0.0.1 hlse1.pixivsketch.net -127.0.0.1 hlse2.pixivsketch.net -127.0.0.1 hlse3.pixivsketch.net -127.0.0.1 hlse4.pixivsketch.net -127.0.0.1 hlse5.pixivsketch.net -127.0.0.1 hlse6.pixivsketch.net -127.0.0.1 hlse7.pixivsketch.net -127.0.0.1 hlse8.pixivsketch.net -127.0.0.1 hlse9.pixivsketch.net -127.0.0.1 hlst1.pixivsketch.net -127.0.0.1 i.pximg.net -127.0.0.1 app-api.pixiv.net -13.226.113.16 g-client-proxy.pixiv.net -210.140.131.157 d.pixiv.org -210.140.92.141 pixiv.pximg.net -210.140.92.142 s.pximg.net -210.140.131.246 api.booth.pm -210.140.131.220 myaccount.pixiv.net -#Pixiv End - -# 顺手修一下维基百科 -# Wikipedia Start -127.0.0.1 en.wikipedia.org -127.0.0.1 zh.wikipedia.org #中文维基百科桌面版 -127.0.0.1 en.m.wikipedia.org -127.0.0.1 zh.m.wikipedia.org -127.0.0.1 zh-yue.wikipedia.org #粤文维基百科桌面版 -127.0.0.1 wuu.wikipedia.org #吴语维基百科桌面版 -127.0.0.1 ug.wikipedia.org #维吾尔文维基百科桌面版 -127.0.0.1 ja.wikipedia.org #日文维基百科桌面版 -127.0.0.1 zh.wikinews.org #中文维基新闻桌面版 -# Wikipedia End - -# Wikimedia Start -127.0.0.1 wikimedia.org -127.0.0.1 upload.wikimedia.org -# Wikimedia End - -# 顺手修一下Steam -# Steam Start -127.0.0.1 store.steampowered.com -127.0.0.1 steamcommunity.com -# Steam end - -# AO3 Start -127.0.0.1 archiveofourown.org -# AO3 end - -# Exhentai Start -127.0.0.1 exhentai.org -127.0.0.1 e-hentai.org -127.0.0.1 forums.e-hentai.org -# Exhentai end - -# Nyaa Start -127.0.0.1 nyaa.si -127.0.0.1 www.nyaa.si -127.0.0.1 sukebei.nyaa.si -# Nyaae End +# GitHub Host Start + +185.199.108.154 github.githubassets.com +140.82.114.21 central.github.com +185.199.108.153 assets-cdn.github.com +185.199.109.133 github.map.fastly.net +199.232.69.194 github.global.ssl.fastly.net +140.82.112.4 gist.github.com +185.199.108.153 github.io +#13.114.40.48 GitHub.com +#52.192.72.89 github.com +20.205.243.166 github.com +20.27.177.113 github.com +20.200.245.247 github.com +127.0.0.1 GitHub.com +#52.69.186.44 github.com +20.205.243.168 api.github.com +#140.82.113.5 api.github.com +#185.199.110.133 raw.githubusercontent.com +#185.199.109.133 user-images.githubusercontent.com +#185.199.109.133 favicons.githubusercontent.com +#185.199.109.133 avatars5.githubusercontent.com +#185.199.109.133 avatars4.githubusercontent.com +#185.199.109.133 avatars3.githubusercontent.com +#185.199.109.133 avatars2.githubusercontent.com +#185.199.109.133 avatars1.githubusercontent.com +#185.199.109.133 avatars0.githubusercontent.com +#185.199.109.133 avatars.githubusercontent.com +#185.199.109.133 objects.githubusercontent.com +127.0.0.1 raw.githubusercontent.com +127.0.0.1 desktop.githubusercontent.com +127.0.0.1 camo.githubusercontent.com +127.0.0.1 user-images.githubusercontent.com +127.0.0.1 favicons.githubusercontent.com +127.0.0.1 avatars5.githubusercontent.com +127.0.0.1 avatars4.githubusercontent.com +127.0.0.1 avatars3.githubusercontent.com +127.0.0.1 avatars2.githubusercontent.com +127.0.0.1 avatars1.githubusercontent.com +127.0.0.1 avatars0.githubusercontent.com +127.0.0.1 avatars.githubusercontent.com +127.0.0.1 objects.githubusercontent.com +127.0.0.1 media.githubusercontent.com +13.124.75.135 codeload.github.com +#140.82.114.9 codeload.github.com +52.216.163.11 github-cloud.s3.amazonaws.com +52.216.163.11 github-com.s3.amazonaws.com +52.216.163.11 github-production-release-asset-2e65be.s3.amazonaws.com +52.216.163.11 github-production-user-asset-6210df.s3.amazonaws.com +52.216.163.11 github-production-repository-file-5c1aeb.s3.amazonaws.com +185.199.110.153 githubstatus.com +64.71.144.202 github.community + +# dns : https://github.com/ineo6/hosts +# и £ +# GitHub Host End + +#Pixiv Start +127.0.0.1 pixiv.net +127.0.0.1 www.pixiv.net +127.0.0.1 ssl.pixiv.net +127.0.0.1 accounts.pixiv.net +127.0.0.1 touch.pixiv.net +127.0.0.1 oauth.secure.pixiv.net +127.0.0.1 dic.pixiv.net +127.0.0.1 en-dic.pixiv.net +127.0.0.1 sketch.pixiv.net +127.0.0.1 payment.pixiv.net +127.0.0.1 factory.pixiv.net +127.0.0.1 comic.pixiv.net +127.0.0.1 novel.pixiv.net +127.0.0.1 imgaz.pixiv.net +127.0.0.1 imp.pixiv.net +127.0.0.1 sensei.pixiv.net +127.0.0.1 fanbox.pixiv.net +127.0.0.1 source.pixiv.net +127.0.0.1 i1.pixiv.net +127.0.0.1 i2.pixiv.net +127.0.0.1 i3.pixiv.net +127.0.0.1 i4.pixiv.net +127.0.0.1 hls1.pixivsketch.net +127.0.0.1 hls2.pixivsketch.net +127.0.0.1 hls3.pixivsketch.net +127.0.0.1 hls4.pixivsketch.net +127.0.0.1 hls5.pixivsketch.net +127.0.0.1 hls6.pixivsketch.net +127.0.0.1 hls7.pixivsketch.net +127.0.0.1 hls8.pixivsketch.net +127.0.0.1 hls9.pixivsketch.net +127.0.0.1 hls10.pixivsketch.net +127.0.0.1 hls11.pixivsketch.net +127.0.0.1 hls12.pixivsketch.net +127.0.0.1 hls13.pixivsketch.net +127.0.0.1 hls14.pixivsketch.net +127.0.0.1 hls15.pixivsketch.net +127.0.0.1 hls16.pixivsketch.net +127.0.0.1 hls17.pixivsketch.net +127.0.0.1 hls18.pixivsketch.net +127.0.0.1 hls19.pixivsketch.net +127.0.0.1 hls20.pixivsketch.net +127.0.0.1 hlsa1.pixivsketch.net +127.0.0.1 hlsa2.pixivsketch.net +127.0.0.1 hlsa3.pixivsketch.net +127.0.0.1 hlsa4.pixivsketch.net +127.0.0.1 hlsa5.pixivsketch.net +127.0.0.1 hlsa6.pixivsketch.net +127.0.0.1 hlsa7.pixivsketch.net +127.0.0.1 hlsa8.pixivsketch.net +127.0.0.1 hlsa10.pixivsketch.net +127.0.0.1 hlsa11.pixivsketch.net +127.0.0.1 hlsa12.pixivsketch.net +127.0.0.1 hlsa13.pixivsketch.net +127.0.0.1 hlsa14.pixivsketch.net +127.0.0.1 hlsa15.pixivsketch.net +127.0.0.1 hlsa16.pixivsketch.net +127.0.0.1 hlsa17.pixivsketch.net +127.0.0.1 hlsa18.pixivsketch.net +127.0.0.1 hlsa19.pixivsketch.net +127.0.0.1 hlsc1.pixivsketch.net +127.0.0.1 hlsc2.pixivsketch.net +127.0.0.1 hlsc3.pixivsketch.net +127.0.0.1 hlsc4.pixivsketch.net +127.0.0.1 hlsc5.pixivsketch.net +127.0.0.1 hlsc6.pixivsketch.net +127.0.0.1 hlse1.pixivsketch.net +127.0.0.1 hlse2.pixivsketch.net +127.0.0.1 hlse3.pixivsketch.net +127.0.0.1 hlse4.pixivsketch.net +127.0.0.1 hlse5.pixivsketch.net +127.0.0.1 hlse6.pixivsketch.net +127.0.0.1 hlse7.pixivsketch.net +127.0.0.1 hlse8.pixivsketch.net +127.0.0.1 hlse9.pixivsketch.net +127.0.0.1 hlst1.pixivsketch.net +127.0.0.1 i.pximg.net +127.0.0.1 downloads.fanbox.cc +127.0.0.1 api.fanbox.cc +127.0.0.1 www.fanbox.cc +127.0.0.1 app-api.pixiv.net +13.226.113.16 g-client-proxy.pixiv.net +210.140.131.159 d.pixiv.org +210.140.92.140 pixiv.pximg.net +210.140.131.246 api.booth.pm +210.140.131.220 myaccount.pixiv.net +#Pixiv End + +# ˳ һ ά ? +# Wikipedia Start +127.0.0.1 en.wikipedia.org +127.0.0.1 zh.wikipedia.org # ά ٿ ? +127.0.0.1 en.m.wikipedia.org +127.0.0.1 zh.m.wikipedia.org +127.0.0.1 zh-yue.wikipedia.org # ά ٿ ? +127.0.0.1 wuu.wikipedia.org # ά ٿ ? +127.0.0.1 ug.wikipedia.org #ά ά ٿ ? +127.0.0.1 ja.wikipedia.org # ά ٿ ? +127.0.0.1 zh.wikinews.org # ά ? +# Wikipedia End + +# Wikimedia Start +127.0.0.1 wikimedia.org +127.0.0.1 upload.wikimedia.org +# Wikimedia End + +# ˳ һ Steam +# Steam Start +23.195.152.91 store.steampowered.com +23.199.145.221 login.steampowered.com +23.199.145.221 help.steampowered.com +23.199.145.221 api.steampowered.com +127.0.0.1 steamcommunity.com +#127.0.0.1 steam-chat.com +104.69.45.52 steam-chat.com +::1 cdn.steamstatic.com +127.0.0.1 cdn.steamstatic.com +::1 cdn.akamai.steamstatic.com +127.0.0.1 cdn.akamai.steamstatic.com +::1 cdn.cloudflare.steamstatic.com +127.0.0.1 cdn.cloudflare.steamstatic.com +::1 clan.steamstatic.com; +127.0.0.1 clan.steamstatic.com; +::1 clan.akamai.steamstatic.com; +127.0.0.1 clan.akamai.steamstatic.com; +::1 clan.cloudflare.steamstatic.com; +127.0.0.1 clan.cloudflare.steamstatic.com; +::1 store.akamai.steamstatic.com +127.0.0.1 store.akamai.steamstatic.com +::1 store.cloudflare.steamstatic.com +127.0.0.1 store.cloudflare.steamstatic.com +::1 avatars.akamai.steamstatic.com +127.0.0.1 avatars.akamai.steamstatic.com +::1 avatars.cloudflare.steamstatic.com +127.0.0.1 avatars.cloudflare.steamstatic.com +::1 shared.steamstatic.com +127.0.0.1 shared.steamstatic.com +::1 shared.akamai.steamstatic.com +127.0.0.1 shared.akamai.steamstatic.com +::1 shared.cloudflare.steamstatic.com +127.0.0.1 shared.cloudflare.steamstatic.com +::1 video.steamstatic.com +127.0.0.1 video.steamstatic.com +::1 video.akamai.steamstatic.com +127.0.0.1 video.akamai.steamstatic.com +::1 video.cloudflare.steamstatic.com +127.0.0.1 video.cloudflare.steamstatic.com +::1 broadcast.akamai.steamstatic.com +127.0.0.1 broadcast.akamai.steamstatic.com +127.0.0.1 steamuserimages-a.akamaihd.net +127.0.0.1 steamcdn-a.akamaihd.net +23.48.201.42 clientconfig.akamai.steamstatic.com +23.48.201.34 clientconfig.akamai.steamstatic.com + +127.0.0.1 community.steamstatic.com +::1 community.steamstatic.com +127.0.0.1 community.akamai.steamstatic.com +::1 community.akamai.steamstatic.com +127.0.0.1 community.cloudflare.steamstatic.com +::1 community.cloudflare.steamstatic.com +# Steam End + +# AO3 Start +#127.0.0.1 archiveofourown.org +# AO3 End + +# Exhentai Start +127.0.0.1 exhentai.org +127.0.0.1 s.exhentai.org +127.0.0.1 e-hentai.org +127.0.0.1 api.e-hentai.org +127.0.0.1 r.e-hentai.org +127.0.0.1 g.e-hentai.org +127.0.0.1 lofi.e-hentai.org +127.0.0.1 upld.e-hentai.org +127.0.0.1 forums.e-hentai.org +127.0.0.1 ehgt.org +# Exhentai End + +# Nyaa Start +#127.0.0.1 nyaa.si +#127.0.0.1 www.nyaa.si +#127.0.0.1 sukebei.nyaa.si +# Nyaa End + +# dlsite Start +13.224.163.55 www.dlsite.com +13.224.163.36 www.dlsite.com +13.224.163.14 www.dlsite.com +13.224.163.122 www.dlsite.com +99.84.55.9 www.dlsite.com +99.84.55.64 www.dlsite.com +99.84.55.86 www.dlsite.com +99.84.55.128 www.dlsite.com +::2606:4700::6812:2ad www.dlsite.com +::2606:4700::6812:3ad www.dlsite.com +13.32.50.10 ssl.dlsite.com +13.32.50.49 ssl.dlsite.com +13.32.50.64 ssl.dlsite.com +13.32.50.77 ssl.dlsite.com +99.84.55.9 ssl.dlsite.com +99.84.55.64 ssl.dlsite.com +99.84.55.86 ssl.dlsite.com +99.84.55.128 ssl.dlsite.com +13.35.185.2 download.dlsite.com +13.35.185.22 download.dlsite.com +13.35.185.33 download.dlsite.com +13.35.185.95 download.dlsite.com +18.65.216.21 download.dlsite.com +18.65.216.76 download.dlsite.com +18.65.216.81 download.dlsite.com +18.65.216.103 download.dlsite.com +18.164.174.12 download.dlsite.com +18.164.174.22 download.dlsite.com +18.164.174.75 download.dlsite.com +18.164.174.89 download.dlsite.com +13.224.167.12 media.dlsite.com +13.224.167.19 media.dlsite.com +13.224.167.37 media.dlsite.com +13.224.167.113 media.dlsite.com +13.224.163.22 media.dlsite.com +13.224.163.34 media.dlsite.com +13.224.163.50 media.dlsite.com +13.224.163.73 media.dlsite.com +52.84.251.15 media.dlsite.com +52.84.251.58 media.dlsite.com +52.84.251.69 media.dlsite.com +52.84.251.116 media.dlsite.com +99.84.55.5 media.dlsite.com +99.84.55.11 media.dlsite.com +99.84.55.44 media.dlsite.com +99.84.55.66 media.dlsite.com +54.248.185.220 play.dlsite.com +54.249.233.189 play.dlsite.com +3.114.2.143 ch.dlsite.com +54.65.242.130 ch.dlsite.com +54.192.18.16 img.dlsite.jp +54.192.18.19 img.dlsite.jp +54.192.18.25 img.dlsite.jp +54.192.18.79 img.dlsite.jp +3.164.143.11 img.dlsite.jp +3.164.143.22 img.dlsite.jp +3.164.143.45 img.dlsite.jp +3.164.143.55 img.dlsite.jp +#2606:4700:100::6812:199d img.dlsite.jp +#2606:4700:100::6812:189d img.dlsite.jp +54.192.18.22 media.ci-en.jp +54.192.18.101 media.ci-en.jp +54.192.18.106 media.ci-en.jp +54.192.18.116 media.ci-en.jp +#35.76.238.66 ci-en.net +#176.34.45.157 ci-en.net +18.182.137.104 ci-en.dlsite.com +13.115.197.107 ci-en.dlsite.com +# dlsite End + +# EA Start +127.0.0.1 origin-a.akamaihd.net +127.0.0.1 api1.origin.com +127.0.0.1 pc.ea.com +# EA End + +# Twitter Start +127.0.0.1 twitter.com +127.0.0.1 api.twitter.com +127.0.0.1 ton.twitter.com +127.0.0.1 support.twitter.com +127.0.0.1 upload.twitter.com +127.0.0.1 pic.twitter.com +127.0.0.1 x.com +127.0.0.1 jf.x.com +127.0.0.1 api.x.com +127.0.0.1 ton.x.com +127.0.0.1 support.x.com +127.0.0.1 upload.x.com +127.0.0.1 pic.x.com +127.0.0.1 abs.twimg.com +127.0.0.1 pbs.twimg.com +127.0.0.1 t.lv.twimg.com +127.0.0.1 video.twimg.com +127.0.0.1 abs-0.twimg.com +127.0.0.1 t.co +# Twitter End + +# Discord Start +127.0.0.1 media.discordapp.net +127.0.0.1 images-ext-2.discordapp.net +127.0.0.1 images-ext-1.discordapp.net +127.0.0.1 dl.discordapp.net +127.0.0.1 discordapp.com +127.0.0.1 url9177.discordapp.com +127.0.0.1 canary-api.discordapp.com +127.0.0.1 cdn-ptb.discordapp.com +127.0.0.1 ptb.discordapp.com +127.0.0.1 status.discordapp.com +127.0.0.1 cdn-canary.discordapp.com +127.0.0.1 cdn.discordapp.com +127.0.0.1 streamkit.discordapp.com +127.0.0.1 i18n.discordapp.com +127.0.0.1 url9624.discordapp.com +127.0.0.1 url7195.discordapp.com +127.0.0.1 merch.discordapp.com +127.0.0.1 printer.discordapp.com +127.0.0.1 canary.discordapp.com +127.0.0.1 apps.discordapp.com +127.0.0.1 pax.discordapp.com +127.0.0.1 discord.com +127.0.0.1 status.discord.com +127.0.0.1 streamkit.discord.com +127.0.0.1 feedback.discord.com +127.0.0.1 click.discord.com +127.0.0.1 pax.discord.com +127.0.0.1 printer.discord.com +127.0.0.1 ptb.discord.com +127.0.0.1 canary.discord.com +127.0.0.1 bugs.discord.com +127.0.0.1 i18n.discord.com +127.0.0.1 support.discord.com +127.0.0.1 safety.discord.com +127.0.0.1 support-dev.discord.com +127.0.0.1 discord.gg +127.0.0.1 gateway.discord.gg +127.0.0.1 gateway-us-east1-b.discord.gg +# Discord End + +# Twitch Start +127.0.0.1 twitch.tv +127.0.0.1 www.twitch.tv +127.0.0.1 m.twitch.tv +127.0.0.1 app.twitch.tv +127.0.0.1 clips.twitch.tv +127.0.0.1 gql.twitch.tv +127.0.0.1 dashboard.twitch.tv +127.0.0.1 player.twitch.tv +127.0.0.1 api.twitch.tv +127.0.0.1 irc-ws.chat.twitch.tv +127.0.0.1 irc-ws-r.chat.twitch.tv +127.0.0.1 vod-storyboards.twitch.tv +127.0.0.1 vod-metro.twitch.tv +127.0.0.1 music.twitch.tv +127.0.0.1 player.m7g.twitch.tv +127.0.0.1 badges.twitch.tv +127.0.0.1 blog.twitch.tv +127.0.0.1 inspector.twitch.tv +127.0.0.1 stream.twitch.tv +127.0.0.1 dev.twitch.tv +127.0.0.1 spade.twitch.tv +127.0.0.1 trowel.twitch.tv +127.0.0.1 vod-secure.twitch.tv +127.0.0.1 extension-files.twitch.tv +127.0.0.1 help.twitch.tv +127.0.0.1 cvp.twitch.tv +127.0.0.1 brand.twitch.tv +127.0.0.1 assets.help.twitch.tv +127.0.0.1 passport.twitch.tv +127.0.0.1 id.twitch.tv +127.0.0.1 link.twitch.tv +127.0.0.1 id-cdn.twitch.tv +127.0.0.1 discuss.dev.twitch.tv +127.0.0.1 ingest.twitch.tv +127.0.0.1 usher.ttvnw.net +127.0.0.1 clips-media-assets2.twitch.tv +127.0.0.1 us-west-2.uploads-regional.twitch.tv +127.0.0.1 safety.twitch.tv +127.0.0.1 pubsub-edge.twitch.tv +127.0.0.1 panels.twitch.tv +127.0.0.1 gql.twitch.tv +# Twitch End + +# nhentai Start +104.21.66.123 nhentai.net +185.107.44.3 nhentai.net +127.0.0.1 t2.nhentai.net +127.0.0.1 t3.nhentai.net +127.0.0.1 t5.nhentai.net +127.0.0.1 t7.nhentai.net +127.0.0.1 static.nhentai.net +# nhentai End + +# Instagram Start +127.0.0.1 ig.me +127.0.0.1 www.ig.me +127.0.0.1 instagr.am +127.0.0.1 i.instagr.am +127.0.0.1 www.instagr.am +127.0.0.1 Instagram.com +127.0.0.1 b.i.Instagram.com +127.0.0.1 z-p42.i.instagram.com +127.0.0.1 upload-ec2.instagram.com +127.0.0.1 help.instagram.com +127.0.0.1 m.Instagram.com +127.0.0.1 www.Instagram.com +127.0.0.1 privacycenter.instagram.com +127.0.0.1 z-p42.graph.instagram.com +127.0.0.1 z-p42.upload.instagram.com +127.0.0.1 z-p42.dyi.www.instagram.com +127.0.0.1 z-p42.maps.instagram.com +127.0.0.1 z-p42.m.instagram.com +127.0.0.1 z-p42-reg-e2ee.instagram.com +127.0.0.1 z-p42.lookasideInstagram.com +127.0.0.1 z-p42-i.Instagram.com +127.0.0.1 z-p42-instagram.c10r.instagram.com +127.0.0.1 geo-p42.instagram.com +127.0.0.1 b-i.instagram.com + +127.0.0.1 api.Instagram.com +127.0.0.1 graph.instagram.com +127.0.0.1 i.Instagram.com +127.0.0.1 badges.Instagram.com +127.0.0.1 hyperlapse.Instagram.com +127.0.0.1 preprod.Instagram.com +127.0.0.1 community.Instagram.com +127.0.0.1 parents.Instagram.com +127.0.0.1 lookaside.Instagram.com +127.0.0.1 auth.Instagram.com +127.0.0.1 black.Instagram.com +127.0.0.1 creatorsupport.Instagram.com +127.0.0.1 wallets.Instagram.com +127.0.0.1 accountscenter.Instagram.com +127.0.0.1 approval.Instagram.com +127.0.0.1 graphql.Instagram.com +127.0.0.1 survey.Instagram.com +127.0.0.1 call.Instagram.com +127.0.0.1 familycenter.Instagram.com +127.0.0.1 Instagram.c10r.Instagram.com +127.0.0.1 streaming-graph.Instagram.com +127.0.0.1 geo.Instagram.com +127.0.0.1 white.Instagram.com +127.0.0.1 applink.Instagram.com +127.0.0.1 creators.Instagram.com +127.0.0.1 checkout.instagram.com +127.0.0.1 dyi.www.instagram.com + +127.0.0.1 buy.ig.me +127.0.0.1 instagram.c10r.facebook.com +127.0.0.1 instagram-p3-shv-02-iad3.fbcdn.net +127.0.0.1 l.instagram.com +127.0.0.1 logger.instagram.com +127.0.0.1 maps.instagram.com +127.0.0.1 platform.instagram.com +127.0.0.1 platform-iad3-2.cdninstagram.com +127.0.0.1 reg-e2ee.instagram.com +127.0.0.1 scontent-a-iad3-2.cdninstagram.com +127.0.0.1 scontent-b.cdninstagram.com +127.0.0.1 scontent-b-iad3-2.cdninstagram.com +127.0.0.1 scontent-iad3-2.cdninstagram.com +127.0.0.1 static-iad3-2.cdninstagram.com +127.0.0.1 upload.instagram.com +127.0.0.1 video-iad3-2.cdninstagram.com +127.0.0.1 web-chat-e2ee.instagram.com +127.0.0.1 www.prod.instagram.com +127.0.0.1 xweb.instagram.com +127.0.0.1 z-p3.www.instagram.com +127.0.0.1 edge-chat.Instagram.com + +127.0.0.1 static.cdninstagram.com +127.0.0.1 video.cdninstagram.com +127.0.0.1 creative.cdninstagram.com +127.0.0.1 dragon.cdninstagram.com +127.0.0.1 external.cdninstagram.com +127.0.0.1 platform.cdninstagram.com +127.0.0.1 scontent.cdninstagram.com +127.0.0.1 creative-nrt.cdninstagram.com +127.0.0.1 creative-nrt1-1.cdninstagram.com +127.0.0.1 dragon-nrt.cdninstagram.com +127.0.0.1 dragon-nrt1-1.cdninstagram.com +127.0.0.1 external-nrt.cdninstagram.com +127.0.0.1 external-nrt1-1.cdninstagram.com +127.0.0.1 platform-nrt.cdninstagram.com +127.0.0.1 platform-nrt1-1.cdninstagram.com +127.0.0.1 scontent-a-nrt.cdninstagram.com +127.0.0.1 scontent-a-nrt1-1.cdninstagram.com +127.0.0.1 scontent-b-nrt.cdninstagram.com +127.0.0.1 scontent-b-nrt1-1.cdninstagram.com +127.0.0.1 scontent-nrt.cdninstagram.com +127.0.0.1 scontent-nrt1-1.cdninstagram.com +127.0.0.1 static-nrt.cdninstagram.com +127.0.0.1 static-nrt1-1.cdninstagram.com +127.0.0.1 video-nrt.cdninstagram.com +127.0.0.1 video-nrt1-1.cdninstagram.com +127.0.0.1 creative-nrt1-2.cdninstagram.com +127.0.0.1 dragon-nrt1-2.cdninstagram.com +127.0.0.1 external-nrt1-2.cdninstagram.com +127.0.0.1 platform-nrt1-2.cdninstagram.com +127.0.0.1 scontent-a-nrt1-2.cdninstagram.com +127.0.0.1 scontent-b-nrt1-2.cdninstagram.com +127.0.0.1 scontent-nrt1-2.cdninstagram.com +127.0.0.1 static-nrt1-2.cdninstagram.com +127.0.0.1 video-nrt1-2.cdninstagram.com +127.0.0.1 creative-hkt.cdninstagram.com +127.0.0.1 creative-hkt1-1.cdninstagram.com +127.0.0.1 dragon-hkt.cdninstagram.com +127.0.0.1 dragon-hkt1-1.cdninstagram.com +127.0.0.1 external-hkt.cdninstagram.com +127.0.0.1 external-hkt1-1.cdninstagram.com +127.0.0.1 platform-hkt.cdninstagram.com +127.0.0.1 platform-hkt1-1.cdninstagram.com +127.0.0.1 scontent-a-hkt.cdninstagram.com +127.0.0.1 scontent-a-hkt1-1.cdninstagram.com +127.0.0.1 scontent-b-hkt.cdninstagram.com +127.0.0.1 scontent-b-hkt1-1.cdninstagram.com +127.0.0.1 scontent-hkt.cdninstagram.com +127.0.0.1 scontent-hkt1-1.cdninstagram.com +127.0.0.1 static-hkt.cdninstagram.com +127.0.0.1 static-hkt1-1.cdninstagram.com +127.0.0.1 video-hkt.cdninstagram.com +127.0.0.1 video-hkt1-1.cdninstagram.com +127.0.0.1 creative-hkt1-2.cdninstagram.com +127.0.0.1 dragon-hkt1-2.cdninstagram.com +127.0.0.1 external-hkt1-2.cdninstagram.com +127.0.0.1 platform-hkt1-2.cdninstagram.com +127.0.0.1 scontent-a-hkt1-2.cdninstagram.com +127.0.0.1 scontent-b-hkt1-2.cdninstagram.com +127.0.0.1 scontent-hkt1-2.cdninstagram.com +127.0.0.1 static-hkt1-2.cdninstagram.com +127.0.0.1 video-hkt1-2.cdninstagram.com +# Instagram End + +# WallHaven.cc Start +127.0.0.1 wallhaven.cc +127.0.0.1 www.wallhaven.cc +127.0.0.1 w.wallhaven.cc +127.0.0.1 th.wallhaven.cc +127.0.0.1 static.wallhaven.cc +127.0.0.1 alpha.wallhaven.cc +# WallHaven.cc End + +# Reddit Start +127.0.0.1 reddit.com +127.0.0.1 www.reddit.com +127.0.0.1 www.redditmedia.com +127.0.0.1 www.redditstatic.com +127.0.0.1 w3-reporting.reddit.com +127.0.0.1 error-tracking.reddit.com +127.0.0.1 redd.it +127.0.0.1 i.redd.it +127.0.0.1 v.redd.it +127.0.0.1 preview.redd.it +127.0.0.1 external-preview.redd.it +127.0.0.1 packaged-media.redd.it +127.0.0.1 a.thumbs.redditmedia.com +127.0.0.1 b.thumbs.redditmedia.com +127.0.0.1 styles.redditmedia.com +127.0.0.1 emoji.redditmedia.com +# Reddit End + +# imgur Start +127.0.0.1 imgur.com +127.0.0.1 i.imgur.com +# imgur End diff --git a/更新日志.txt b/更新日志.txt new file mode 100644 index 0000000..51f6cae --- /dev/null +++ b/更新日志.txt @@ -0,0 +1,351 @@ +配置文件(2024年12月04日17时11分 +1、更新pixiv服务器 +2、在前辈的帮助下规范化文件命名 + + + +配置文件(2024年10月17日19时50分 +1、增加imgur服务器 + + + +配置文件(2024年10月17日18时30分 +1、修复部分上游服务器 +2、增加steam Fastly重写 + + + +配置文件(2024年09月14日14时00分 +1、修复部分上游服务器 +2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 + + + +配置文件(2024年09月05日11时30分 +1、改进部分上游服务器写法 +2、修复不启用Steam配置的时候的Bug + + + +配置文件(2024年09月02日21时10分 +1、改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 + + + +配置文件(2024年08月31日18时11分 +1、更新部分上游服务器 +2、改进KeepAlive参数,提升访问可靠性 + + + +配置文件(2024年08月27日18时55分 +1、更新Github上游服务器 +2、添加以下网站服务器: + Discord (IPv4) + Instagram (IPv6 Only, 需要本地dns重写,无固定Hosts可用) + WallHaven (IPv4, 仅图片CDN,不包含网页) + Reddit (IPv4, 需要本地dns重写,无固定Hosts可用) + Twitter (IPv4, 需要本地dns重写,无固定Hosts可用) + Twitch (IPv4, 需要本地dns重写,无固定Hosts可用) + GoogleCDN (仅部分文件IPv6, 主要谷歌网页以及IPv4服务器无法使用,老老实实用专线或者科研网教育网,需要本地dns重写,无固定Hosts可用) + + + +配置文件(2024年08月15日20点20分 +1、更新E-hentai上游服务器 + + + +配置文件(2024年08月15日20点20分 +1、更新E-hentai上游服务器 + + + +配置文件(2024年08月12日21点00分 +1、优化代码格式 + + + +配置文件(2024年08月04日23点45分 +1、修改hosts +2、更新 Steam 的服务器 + + + +配置文件(2024年08月02日21点05分 +1、修改hosts +2、更新 Steam 的服务器 +3、更新X(原推特)的服务器 + + + +配置文件(2024年07月22日17点30分 + +1、修改hosts +2、更新X(原推特)的服务器以及证书 +3、更新Instagram服务器 + + + +配置文件(2024年07月20日18点50分 + +1、增加证书域名 +2、更新reddit的上游服务器 + + + +配置文件(2024年01月05日12点30分 + +1、修改hosts +2、修改部分文件内容 + + + +配置文件(2023年12月16日19点30分 +0、更新部分上游ip,提升加载速度 +1、修补自签证书使用说明的错漏 + + + +配置文件(2023年9月25日19点30分 +0、本次默认禁用大部分附加配置文件,如有需要请自行删除对应代码前面的#进行启用 +1、更新hosts和子证书文本,子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 重要的事情说三遍 +2、遇到群友逆天bug,想了半天解决方案 +3、成功规避逆天bug +注:逆天bug为记事本逆天bug,无法正常编辑文本 + + + +配置文件(2023年6月17日18点00分 +1、修复16日的一个小bug + + + +配置文件(2023年6月16日14点10分 +1、更改更新的上游和hosts +2、提高性能 + + + +2023年6月05日15点30分 +1、修复bugs +2、更新ci-en的反代和证书以及hosts + + + +2023年5月30日15点10分 +1、修复nhentai反代,速度还行 + + + +2023年5月27日15点00分 +1、删改服务器已删除的上游 + + + +2023年5月18日20点50分 +1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org +2、补齐exhentai对应的证书 + + + +2023年5月17日16点30分 +1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org +2、修改e-hentai的上游地址 + + + +2023年5月10日19点30分 +温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 +1、根据今天发现的配置文件自定义解析设定失效,对涉及resolver的用法全部进行了修改以解决失效问题 + + + +2023年5月07日9点00分 +温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 +1、取消SteamServer。net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts + + + +2023年5月03日15点20分 +0、本次更新 需要 更新 证书 +1、修改部分错误的服务器 +2、修改部分日志记录位置 +3、实装SteamServer.net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts +4、实装Steam-chat.com的反代功能,是否启用请结合需求和实际情况,自行修改Hosts + + + +2023年4月20日12点00分 +1、修改iwara部分上游链接 +2、由于iwara站点服务器更新,现仅能反代视频服务器,主站所有其他内容和图片均无法使用,需自行扶墙 + + + +2023年4月15日15点50分 +1、修改部分上游链接 +2、提高Steam社区反代稳定性 + + + +2023年4月13日19点15分 +1、修改部分上游链接 +2、修改部分hosts + + + +2023年2月28日14点55分 +1、更新DLsite的反代访问 +2、修改hosts +3、Steam反代经测试已恢复正常 + + + +2023年2月25日12点25分 +1、增加FC2直播的反代访问 +2、修改hosts和对应证书 +3、Steam反代暂时无法更新,部分地区寄了,原有配置文件部分地区仍可使用 + + + +2023年2月21日16点26分 +1、更新配置文件部分buffer参数 +2、修改hosts + + + +2023年2月14日19点31分 +1、更新cdn对应IP +2、更新Hosts文件 + + + +2022年12月16日20点59分 +1、删除一个报废的域名,以解决不能启动问题 + + + +2022年11月30日15点30分 +1、优化Instagram域名的上游ip,现仅ipv6可用 + + + +2022年11月29日22点10分 +1、增加Instagram主域名反代访问 +2、经测试,Instagram的CDN域名 cdninstagram.com 未被屏蔽,阿里云、腾讯云、百度云、奠信DNS均能正常使用 +3、增加PayPal经常出问题的域名的反代,根据需求自行添加 +4、cdninstagram.com连接缓慢,请使用DNS工具批量修改解析,域名太多不方便hosts + + + +2022年11月13日23点10分 +1、根据最新dns解析结果,优化IP结构和上游IP使用 + + + +2022年10月3日22点20分 +1、优化代码结构 + + + +2022年9月6日20点11分 +1、增加i站(iwara.tv)的反代访问 +2、优化代码 +3、更新对应证书 + + + +2022年9月3日13点56分 +1、修改steam商店的反代,通过OldAuth解决商店地区和IP一致导致无法结账的问题 +2、修改(微调)SteamCDN的反代代码 + + + +2022年8月29日15点46分 +1、优化代码,提升响应速度 +2、e-hentai的域名维护 +3、DLsite的域名维护 +4、更新对应证书 + + + +2022年8月7日15点46分 +1、优化代码,提升响应速度 +2、增加nhentai的反代访问和DNS修复 +3、更新对应证书 + + + +2022年8月7日12点46分 +1、优化代码,提升响应速度 +2、修补Patreon的反代访问,新增几个子域名 +3、增加APKPure的反代访问 +4、更新对应证书 + + + +2022年8月2日13点21分 +1、更新e-hentai的服务器以及附属域名 +2、优化部分代码结构 +3、更新对应证书 + + + +2022年8月1日20点24分 +1、更新并简化freenom的上游服务器 + + + +2022年7月29日18点48分 +⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 +1、修复discord图床域名images-ext-1.discordapp.net和images-ext-2.discordapp.net的反代访问 + + + +2022年7月29日17点17分&18点25分 +1、增加discord的反代访问 +2、增加twitch的反代访问 +3、更新相关Hosts和证书 +⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 + + + +2022年7月26日23点43分&59分 +1、修复dlsite.com相关IP和域名 +2、修复对应Hosts + + + +2022年7月26日11点23分&12点54分 +1、删除&更改了部分报错报障IP,提升访问流畅度 +2、补充了遗漏的Twitter域名t.co +3、尝试修复E-Hentai + + + +2022年7月25日15点30分 +1、修复了反代访问 推特Twitter域名 +2、更新相关Hosts和证书 + + + +2022年7月18日18点35分 +1、修复了反代访问My.freenom.com域名,是Freenom的个人中心以及域名注册页面所在的域名 +2、更新相关Hosts和证书 + + + +2022年7月11日22点59分 +1、修复了Patreon的访问 +2、恢复并更新了相关hosts项 + + + +2022年7月1日22点06分 +1、增加了dlsite的下载修复和修改了部分steam的域名及IP +2、删除了自带的Hosts +3、增加了pc.ea.com域名修补 \ No newline at end of file diff --git a/自签证书傻瓜式批处理包/config_childCA.txt b/自签证书傻瓜式批处理包/config_childCA.txt index 6c9af0f..3947133 100644 --- a/自签证书傻瓜式批处理包/config_childCA.txt +++ b/自签证书傻瓜式批处理包/config_childCA.txt @@ -155,6 +155,8 @@ DNS.0141 = *.fbsbx.com DNS.0142 = fbcdn.net DNS.0143 = *.fbcdn.net DNS.0144 = *.xx.fbcdn.net +DNS.0145 = imgur.com +DNS.0146 = *.imgur.com diff --git a/自签证书傻瓜式批处理包/自签证书★使用说明★.txt b/自签证书傻瓜式批处理包/自签证书★使用说明★.txt index f9f45b8..916c666 100644 --- a/自签证书傻瓜式批处理包/自签证书★使用说明★.txt +++ b/自签证书傻瓜式批处理包/自签证书★使用说明★.txt @@ -6,7 +6,12 @@ 导入根证书具体操作:双击打开rootCA.crt,点击“安装证书”,进入“证书导入向导”,存储位置选择“本地计算机”,单击“下一步”继续,选择“将所有的证书都放入下列存储”,然后点击“浏览”,选择“受信任的根证书颁发机构”,然后点击“确定”,然后点击“下一步”,最后点击“完成” -3.需要添加域名时打开「config_childCA.txt」加入,完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的Pixiv.net.crt和Pixiv.net.key替换Nginx目录原先的文件,在系统host文件添加「127.0.0.1 域名」的字段, 并修改根目录「/conf/pixiv.conf」。 +3.需要添加域名时打开「config_childCA.txt」加入 + + +4.修改完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的「Pixiv.net.crt」和「pixiv.net.key」替换Nginx证书目录「/conf/ca」原先的文件,在系统host文件添加「127.0.0.1 域名」的字段 + +5.配置文件更新时仅需进行修改「config_childCA.txt」然后进行第4步 生成的子证书存放目录:nginx安装目录/conf/ca