mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-22 05:38:11 +08:00
81c7a11ef8
* 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参数,提升访问可靠性
14 lines
437 B
Plaintext
14 lines
437 B
Plaintext
resolver 119.29.29.29 valid=300 ipv4=on ipv6=on;# ipv4=on ipv6=off
|
|
proxy_pass https://$rewrite_host;
|
|
proxy_http_version 1.1;
|
|
proxy_connect_timeout 3;
|
|
keepalive_timeout 120;
|
|
proxy_set_header Connection "";
|
|
proxy_set_header Host $rewrite_host;
|
|
proxy_set_header User-Agent $http_user_agent;
|
|
proxy_set_header Accept-Encoding '';
|
|
proxy_buffering off;
|
|
proxy_ssl_server_name off;
|
|
|
|
access_log off;
|
|
error_log logs/SteamCDN-error.log; |