2024-12-04 15:53:54 +08:00
|
|
|
# WallHaven Start
|
|
|
|
upstream WallHaven-cc {
|
|
|
|
server 15.235.80.145:443;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name wallhaven.cc;
|
|
|
|
server_name w.wallhaven.cc;
|
|
|
|
server_name www.wallhaven.cc;
|
|
|
|
server_name th.wallhaven.cc;
|
|
|
|
server_name static.wallhaven.cc;
|
|
|
|
server_name alpha.wallhaven.cc;
|
|
|
|
|
|
|
|
include cert.conf;
|
|
|
|
client_max_body_size 50M;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
proxy_pass https://15.235.80.145/;
|
|
|
|
proxy_buffer_size 64k;
|
|
|
|
proxy_buffers 32 64k;
|
|
|
|
proxy_busy_buffers_size 128k;
|
|
|
|
#proxy_set_header X-Host $host;
|
|
|
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
#proxy_set_header X-Real_IP $remote_addr;
|
|
|
|
include Proxy.conf;
|
|
|
|
}
|
|
|
|
}
|
更新 (#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
|
|
|
# WallHaven End
|