mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-24 14:48:11 +08:00
26adb4235d
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)
12 lines
381 B
Plaintext
12 lines
381 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 4s;
|
|
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; |