rename files

This commit is contained in:
Mashiro 2024-12-04 15:53:54 +08:00
parent b4478a2241
commit 1f995e33bf
13 changed files with 1187 additions and 1187 deletions

View File

@ -33,8 +33,8 @@ http {
server_names_hash_max_size 512;
server_names_hash_bucket_size 1024;
gzip on;
include Pixiv.conf;
include E-hentai.conf;
# include Pixiv.conf;
# include E-hentai.conf;
#include Steam.conf;
#include DLsite.conf;#目前已不需要只改hosts就行了
#include Reddit.conf;

View File

@ -1,26 +1,26 @@
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;
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;

View File

@ -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_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;

View File

@ -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_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;

View File

@ -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 proxy.conf;
proxy_ssl_name $http_host;

View File

@ -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 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 End

View File

@ -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 {
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;
}
}

View File

@ -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;
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;
error_log logs/GoogleVideo-error.log warn;

View File

@ -1,30 +1,30 @@
# 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 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 End

View File

@ -1,492 +1,492 @@
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.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;
}
}
# EA End

View File

@ -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;

View File

@ -1,247 +1,247 @@
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白山云eccdnxst.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 {
#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白山云eccdnxst.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

View File

@ -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 Proxy.conf;
}
}
# WallHaven End