更新 (#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
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 (#70)
* 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"停止的问题
2024-09-04 19:52:56 +08:00
|
|
|
|
#access_log logs/GoogleVideo-access.gzip main gzip=4 buffer=4k;
|
|
|
|
|
access_log off;
|
更新 (#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
|
|
|
|
error_log logs/GoogleVideo-error.log;
|
|
|
|
|
|
|
|
|
|
server_name *.googlevideo.com;
|
|
|
|
|
|
|
|
|
|
include cert.conf;
|
|
|
|
|
location / {
|
|
|
|
|
proxy_max_temp_file_size 0;
|
改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 (#70)
* 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"停止的问题
2024-09-04 19:52:56 +08:00
|
|
|
|
keepalive_timeout 120;
|
更新 (#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
|
|
|
|
#resolver [::1]:53 valid=180s ipv4=off ipv6=on;
|
|
|
|
|
proxy_pass https://Google-Video;
|
|
|
|
|
proxy_next_upstream_timeout 60;
|
|
|
|
|
proxy_set_header X-Host $host;
|
|
|
|
|
proxy_set_header Range $http_range;
|
|
|
|
|
proxy_set_header If-Range $http_if_range;
|
|
|
|
|
include proxy.params;
|
|
|
|
|
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;
|
改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 (#70)
* 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"停止的问题
2024-09-04 19:52:56 +08:00
|
|
|
|
keepalive_timeout 120;
|
更新 (#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
|
|
|
|
proxy_pass https://ggpht-com;
|
|
|
|
|
proxy_next_upstream_timeout 30;
|
|
|
|
|
include proxy.params;
|
|
|
|
|
proxy_set_header Range $http_range;
|
|
|
|
|
proxy_set_header If-Range $http_if_range;
|
|
|
|
|
}
|
|
|
|
|
}
|