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)
2024-08-27 18:34:08 +08:00
|
|
|
# Discord Start
|
|
|
|
upstream DiscordApp-com {
|
|
|
|
server 162.159.129.233:443;
|
|
|
|
server 162.159.130.233:443;
|
|
|
|
server 162.159.133.233:443;
|
|
|
|
server 162.159.134.233:443;
|
|
|
|
server 162.159.135.233:443;
|
2024-09-05 10:44:21 +08:00
|
|
|
server [2606:4700::162.159.129.233]:443;
|
|
|
|
server [2606:4700::162.159.130.233]:443;
|
|
|
|
server [2606:4700::162.159.133.233]:443;
|
|
|
|
server [2606:4700::162.159.134.233]:443;
|
|
|
|
server [2606:4700::162.159.135.233]:443;
|
|
|
|
keepalive 16;
|
|
|
|
keepalive_time 1h;
|
|
|
|
keepalive_timeout 120;
|
|
|
|
keepalive_requests 10000;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name discordapp.com;
|
|
|
|
server_name url9177.discordapp.com;
|
|
|
|
server_name canary-api.discordapp.com;
|
|
|
|
server_name cdn-ptb.discordapp.com;
|
|
|
|
server_name ptb.discordapp.com;
|
|
|
|
server_name status.discordapp.com;
|
|
|
|
server_name cdn-canary.discordapp.com;
|
|
|
|
server_name cdn.discordapp.com;
|
|
|
|
server_name streamkit.discordapp.com;
|
|
|
|
server_name i18n.discordapp.com;
|
|
|
|
server_name url9624.discordapp.com;
|
|
|
|
server_name url7195.discordapp.com;
|
|
|
|
server_name merch.discordapp.com;
|
|
|
|
server_name printer.discordapp.com;
|
|
|
|
server_name canary.discordapp.com;
|
|
|
|
server_name apps.discordapp.com;
|
|
|
|
server_name pax.discordapp.com;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
更新 (#69)
* 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参数,提升访问可靠性
2024-09-01 13:09:39 +08:00
|
|
|
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
location / {
|
|
|
|
proxy_pass https://DiscordApp-com/;
|
2024-09-05 10:44:21 +08:00
|
|
|
include Proxy.conf;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream Discord-com {
|
|
|
|
server 162.159.135.232:443;
|
|
|
|
server 162.159.136.232:443;
|
|
|
|
server 162.159.137.232:443;
|
|
|
|
server 162.159.138.232:443;
|
|
|
|
server 162.159.128.233:443;
|
2024-09-05 10:44:21 +08:00
|
|
|
server [2606:4700::162.159.128.232]:443;
|
|
|
|
server [2606:4700::162.159.135.232]:443;
|
|
|
|
server [2606:4700::162.159.136.232]:443;
|
|
|
|
server [2606:4700::162.159.137.232]:443;
|
|
|
|
server [2606:4700::162.159.138.232]:443;
|
|
|
|
keepalive 16;
|
|
|
|
keepalive_time 1h;
|
|
|
|
keepalive_timeout 120;
|
|
|
|
keepalive_requests 10000;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name discord.com;
|
|
|
|
server_name status.discord.com;
|
|
|
|
server_name streamkit.discord.com;
|
|
|
|
server_name feedback.discord.com;
|
|
|
|
server_name click.discord.com;
|
|
|
|
server_name pax.discord.com;
|
|
|
|
server_name printer.discord.com;
|
|
|
|
server_name ptb.discord.com;
|
|
|
|
server_name canary.discord.com;
|
|
|
|
server_name bugs.discord.com;
|
|
|
|
server_name i18n.discord.com;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass https://Discord-com/;
|
|
|
|
tcp_nodelay on;
|
|
|
|
#proxy_set_header Upgrade $http_upgrade;
|
|
|
|
#proxy_set_header Connection "Upgrade";
|
|
|
|
proxy_headers_hash_max_size 8192;
|
|
|
|
proxy_buffer_size 128k;
|
|
|
|
proxy_buffers 4 256k;
|
|
|
|
proxy_busy_buffers_size 256k;
|
|
|
|
proxy_set_header Cookie $http_cookie;
|
2024-09-05 10:44:21 +08:00
|
|
|
include Proxy.conf;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream Discord-gg {
|
|
|
|
server 162.159.130.234:443;
|
|
|
|
server 162.159.133.234:443;
|
|
|
|
server 162.159.134.234:443;
|
|
|
|
server 162.159.135.234:443;
|
|
|
|
server 162.159.126.234:443;
|
2024-09-05 10:44:21 +08:00
|
|
|
server [2606:4700::162.159.130.234]:443;
|
|
|
|
server [2606:4700::162.159.133.234]:443;
|
|
|
|
server [2606:4700::162.159.134.234]:443;
|
|
|
|
server [2606:4700::162.159.135.234]:443;
|
|
|
|
server [2606:4700::162.159.126.234]:443;
|
|
|
|
keepalive 8;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
keepalive_time 1h;
|
|
|
|
keepalive_timeout 60s;
|
2024-09-05 10:44:21 +08:00
|
|
|
keepalive_requests 1000;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name discord.gg;
|
|
|
|
server_name gateway.discord.gg;
|
|
|
|
server_name gateway-us-east1-b.discord.gg;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass https://Discord-gg/;
|
|
|
|
tcp_nodelay on;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
include proxy.params;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream support-Discord-com {
|
|
|
|
server 104.16.51.111:443;
|
|
|
|
server 104.16.53.111:443;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name support.discord.com;
|
|
|
|
server_name safety.discord.com;
|
|
|
|
server_name support-dev.discord.com;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass https://support-Discord-com/;
|
2024-09-05 10:44:21 +08:00
|
|
|
include Proxy.conf;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
upstream dl-discordapp-net {
|
|
|
|
server 162.159.129.232:443;
|
|
|
|
server 162.159.130.232:443;
|
|
|
|
server 162.159.133.232:443;
|
|
|
|
server 162.159.134.232:443;
|
|
|
|
server 162.159.128.233:443;
|
2024-09-05 10:44:21 +08:00
|
|
|
server [2606:4700::162.159.128.233]:443;
|
|
|
|
server [2606:4700::162.159.129.232]:443;
|
|
|
|
server [2606:4700::162.159.130.232]:443;
|
|
|
|
server [2606:4700::162.159.133.232]:443;
|
|
|
|
server [2606:4700::162.159.134.232]:443;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name dl.discordapp.net;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass https://dl-discordapp-net/;
|
2024-09-05 10:44:21 +08:00
|
|
|
include Proxy.conf;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name media.discordapp.net;
|
|
|
|
server_name images-ext-2.discordapp.net;
|
|
|
|
server_name images-ext-1.discordapp.net;
|
|
|
|
|
2024-09-02 21:10:31 +08:00
|
|
|
include cert.conf;
|
2024-09-05 10:44:21 +08:00
|
|
|
#access_log logs/Discord-access.log main buffer=4k;
|
|
|
|
access_log off;
|
|
|
|
error_log logs/Discord-error.log;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
|
|
|
|
location / {
|
2024-09-05 10:44:21 +08:00
|
|
|
proxy_pass https://dl-discordapp-net/;
|
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)
2024-08-27 18:34:08 +08:00
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Host media.discordapp.net;
|
|
|
|
proxy_set_header User-Agent $http_user_agent;
|
|
|
|
proxy_set_header Accept-Encoding '';
|
|
|
|
proxy_ssl_server_name on;
|
|
|
|
proxy_buffering off;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# Discord End
|