2024年12月4日更新 (#80)

* Add files via upload

Update the upstream of Steam, Pixiv, E-hentai
Add Server :
Discord (IPv4)
Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains)
WallHaven (IPv4, image CDN Only, excluding pages)
Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains)
Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains)
Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains)
GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains)

* Update the self-signed certificate config

self-signed certificate

* Update README.md

* 更换NGINX版本

* 配置文件(2024年08月31日18时11分

配置文件(2024年08月31日18时11分
1、更新部分上游服务器
2、改进KeepAlive参数,提升访问可靠性

* 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题

* 改进部分上游服务器写法

* Update the domains

* 增加FaceBook反向代理

配置文件(2024年09月14日14时00分
1、修复部分上游服务器
2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写

* 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可

删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可

* 更新子证书内容,以支持FaceBook

更新子证书内容,以支持FaceBook

* Delete facebook

* Delete conf/Reddit.conf

* Delete conf/Twitch.conf

* Delete conf/Twitter.conf

* Delete conf/instagram.conf

* Delete conf/Twitter.params

* Delete conf/Twitch.params

* Delete conf/Discord.conf

* 更新steam上游

* 2024年10月17日更新

更新Steamd的FastlyCDN和imgur

* Delete conf/DLsite.conf

* Delete conf/SteamCDN.params

* Delete conf/Discord.conf

* Delete conf/key.pem

* Delete conf/cert.pem

* Delete conf/pixiv.conf

* 更新Pixiv服务器上游IP

* Delete conf directory then reload

* rename and rebuild the conf

* 更新日志

* 自签证书★使用说明★

* Delete 备用文件 directory

* Update nginx.conf

* Update and rename Hosts to host

* Delete hosts

* Update and rename host to hosts
This commit is contained in:
c15412 2024-12-04 21:33:21 +08:00 committed by Mashiro
parent 1f995e33bf
commit d61f147702
24 changed files with 3507 additions and 1882 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -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并且不希望看到这个页面那么将 <code>C:\Windows\System32\drivers\etc\hosts</code> 中 <code>127.0.0.1 www.google.com</code> 的那行记录删除即可。如果删除后刷新网页还是看到这个页面,请先清除一下浏览器缓存。';
}
}
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;
}
}

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

@ -5,5 +5,5 @@ 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;
include shared-proxy-params-1.conf;
proxy_ssl_name $http_host;

View File

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

View File

@ -25,7 +25,7 @@ server {
location / {
proxy_pass https://exhentai-lb/;
proxy_next_upstream_timeout 75;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -55,7 +55,7 @@ server {
location / {
proxy_pass https://e-hentai-lb/;
proxy_next_upstream_timeout 100;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -75,7 +75,7 @@ server {
location / {
proxy_pass https://94.100.18.243:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -99,7 +99,7 @@ server {
location / {
proxy_pass https://api-e-hentai-lb/;
include proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -125,7 +125,7 @@ server {
fastcgi_send_timeout 3000;
fastcgi_read_timeout 3000;
proxy_pass https://upload-e-hentai-lb/;
include proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -153,7 +153,7 @@ server {
location / {
proxy_pass https://ehgt-org/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# E-Hentai End

View File

@ -1,5 +1,5 @@
upstream Google-Video {
least_conn;
server 127.0.0.129:65496;
server 127.0.0.129:65497;
server 127.0.0.129:65498;
@ -20,7 +20,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "offline-maps.gvt1.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -30,7 +30,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "c.2mdn.net";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -40,7 +40,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "bdn.dev";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -50,7 +50,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "gvt1.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -60,7 +60,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "xn--ngstr-lra8j.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -70,7 +70,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "snap.gvt1.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -80,7 +80,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "gcpcdn.gvt1.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -90,7 +90,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "c.bigcache.googleapis.com";
include GV.conf;
include site-gv.conf;
}
}
server {
@ -100,7 +100,7 @@ server {
include cert.conf;
location / {
set $domain_SUFFIX "c.googlesyndication.com";
include GV.conf;
include site-gv.conf;
}
}
@ -119,12 +119,12 @@ server {
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_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 Proxy.conf;
include shared-proxy-params-1.conf;
proxy_ssl_name $host;
}
}
@ -149,7 +149,7 @@ server {
proxy_max_temp_file_size 0;
proxy_pass https://ggpht-com;
proxy_next_upstream_timeout 30;
include proxy.conf;
include shared-proxy-params-1.conf;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
}

View File

@ -1,13 +1,13 @@
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_ssl_name $proxy_host;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
include proxy.conf;
include shared-proxy-params-1.conf;
#access_log logs/GoogleVideo-access.log GoogleVideo buffer=4k gzip=4;
access_log off;

42
conf/site-imgix.conf Normal file
View File

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

44
conf/site-imgur.conf Normal file
View File

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

1281
conf/site-iwara.conf Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
# PayPal Start
server {
listen 443 ssl http2;
@ -10,7 +9,7 @@ server {
location / {
set $checkout_paypal d37t8d3i48djc7.cloudfront.net;
proxy_pass https://$checkout_paypal:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -24,7 +23,7 @@ server {
location / {
set $c_paypal c-fastly.glb.paypal.com;
proxy_pass https://$c_paypal:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# PayPal End

View File

@ -1,56 +1,27 @@
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;
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 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;
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 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;
@ -72,27 +43,6 @@ upstream i-pximg-net {
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;
@ -138,6 +88,10 @@ 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;
@ -145,49 +99,15 @@ server {
location / {
proxy_pass https://www-pixiv-net;
include Proxy.conf;
}
include shared-proxy-params-1.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;
# 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";
}
}
@ -200,7 +120,7 @@ server {
location / {
proxy_pass https://i-pximg-net;
include Proxy.conf;
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";
@ -208,41 +128,6 @@ server {
}
}
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;
@ -252,27 +137,7 @@ server {
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;
include shared-proxy-params-1.conf;
}
}
# Pixiv End
@ -300,7 +165,7 @@ server {
location / {
proxy_pass https://wikipedia-text-lb/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -322,7 +187,7 @@ server {
location / {
proxy_pass https://wikipedia-upload-lb/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# Wiki End
@ -338,7 +203,7 @@ server {
location / {
proxy_pass https://104.153.64.122:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# archiveofourown End
@ -353,7 +218,7 @@ server {
location / {
proxy_pass https://198.251.89.38:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -367,7 +232,7 @@ server {
location / {
proxy_pass https://185.178.208.182:443/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# Nyaa End
@ -384,6 +249,10 @@ upstream githubusercontent-com {
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;
@ -419,7 +288,7 @@ server {
location / {
proxy_pass https://Github-com/;
include Proxy.conf;
include shared-proxy-params-1.conf;
proxy_headers_hash_max_size 8192;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
@ -440,7 +309,7 @@ server {
location / {
proxy_pass https://githubusercontent-com/;
include Proxy.conf;
include shared-proxy-params-1.conf;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
}
@ -458,7 +327,7 @@ server {
location / {
proxy_pass https://AkamaiCDN/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -472,7 +341,7 @@ server {
location / {
set $rewrite_host "api2.origin.com";
proxy_pass https://$rewrite_host/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -486,7 +355,7 @@ server {
location / {
set $rewrite_host "e8688.e12.akamaiedge.net";
proxy_pass https://$rewrite_host/;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
# EA End

View File

@ -1,32 +1,68 @@
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 23.45.56.78: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.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.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.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;#
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-community {
server 23.1.179.144:443;
server 104.103.145.69:443;
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 {
@ -45,18 +81,18 @@ server {
include cert.conf;
location ^.*(discussions|comment|forum).*$ {
set $rewrite_host "str003.steam302.xyz";
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 proxy.params;
include shared-proxy-params-2.conf;
}
location / {
proxy_pass https://steam-community/;
proxy_pass https://steam-Full/;
proxy_next_upstream_timeout 60;
include Proxy.conf;
include shared-proxy-params-1.conf;
}
}
@ -65,14 +101,10 @@ server {
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;
@ -80,11 +112,30 @@ server {
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;
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;
@ -113,6 +164,33 @@ server {
}
}
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;
@ -124,9 +202,10 @@ server {
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 Proxy.conf;
include shared-proxy-params-1.conf;
proxy_ssl_name $http_host;
access_log off;
error_log logs/SteamCDN-error.log;
@ -135,75 +214,76 @@ server {
#SteamStatic 国内cdn白山云eccdnxst.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;
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 SteamCDN..conf;
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;
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 SteamCDN..conf;
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;
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 SteamCDN..conf;
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;
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 SteamCDN..conf;
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;
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 SteamCDN..conf;
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;
server_name video.steamstatic.com video.akamai.steamstatic.com video.cloudflare.steamstatic.com video.fastly.steamstatic.com;
include cert.conf;
@ -229,19 +309,53 @@ server {
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 / {
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;
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

View File

@ -25,7 +25,7 @@ server {
#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;
include shared-proxy-params-1.conf;
}
}
# WallHaven End

526
hosts
View File

@ -1,7 +1,59 @@
#UTF-8 encoded
#www.google.com域名仅用于登陆验证
#如果你不需要这个功能,请把下一行删掉
127.0.0.1 www.google.com
# 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
@ -18,6 +70,7 @@
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
@ -80,26 +133,28 @@
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.157 d.pixiv.org
210.140.92.141 pixiv.pximg.net
210.140.92.142 s.pximg.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 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 #中文维基新闻桌面版
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
@ -107,24 +162,447 @@
127.0.0.1 upload.wikimedia.org
# Wikimedia End
# 顺手修一下Steam
# ˳ һ Steam
# Steam Start
127.0.0.1 store.steampowered.com
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
# Steam end
#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
#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
# Exhentai end
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
# Nyaae End
#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

351
更新日志.txt Normal file
View File

@ -0,0 +1,351 @@
配置文件2024年12月04日17时11分
、更新pixiv服务器
2、在前辈的帮助下规范化文件命名
配置文件2024年10月17日19时50分
、增加imgur服务器
配置文件2024年10月17日18时30分
1、修复部分上游服务器
、增加steam Fastly重写
配置文件2024年09月14日14时00分
1、修复部分上游服务器
、新增FaceBook反向代理仅IPv6需要本地dns进行批量dns重写
配置文件2024年09月05日11时30分
1、改进部分上游服务器写法
、修复不启用Steam配置的时候的Bug
配置文件2024年09月02日21时10分
1、改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题
配置文件2024年08月31日18时11分
1、更新部分上游服务器
、改进KeepAlive参数提升访问可靠性
配置文件2024年08月27日18时55分
、更新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分
、更新E-hentai上游服务器
配置文件2024年08月15日20点20分
、更新E-hentai上游服务器
配置文件2024年08月12日21点00分
1、优化代码格式
配置文件2024年08月04日23点45分
、修改hosts
2、更新 Steam 的服务器
配置文件2024年08月02日21点05分
、修改hosts
2、更新 Steam 的服务器
3、更新X(原推特)的服务器
配置文件2024年07月22日17点30分
、修改hosts
2、更新X(原推特)的服务器以及证书
3、更新Instagram服务器
配置文件2024年07月20日18点50分
1、增加证书域名
、更新reddit的上游服务器
配置文件2024年01月05日12点30分
、修改hosts
2、修改部分文件内容
配置文件2023年12月16日19点30分
、更新部分上游ip提升加载速度
1、修补自签证书使用说明的错漏
配置文件2023年9月25日19点30分
0、本次默认禁用大部分附加配置文件,如有需要请自行删除对应代码前面的#进行启用
、更新hosts和子证书文本子证书本次不需要强制更新
子证书本次不需要强制更新
子证书本次不需要强制更新
子证书本次不需要强制更新
重要的事情说三遍
、遇到群友逆天bug想了半天解决方案
、成功规避逆天bug
逆天bug为记事本逆天bug无法正常编辑文本
配置文件2023年6月17日18点00分
、修复16日的一个小bug
配置文件2023年6月16日14点10分
、更改更新的上游和hosts
2、提高性能
2023年6月05日15点30分
、修复bugs
、更新ci-en的反代和证书以及
2023年5月30日15点10分
、修复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域名修补

View File

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

View File

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