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)
13 lines
355 B
Plaintext
13 lines
355 B
Plaintext
access_log logs/iwara-access.gzip main gzip=4 buffer=4k;
|
|
error_log logs/iwara-error.log;
|
|
|
|
proxy_next_upstream_timeout 12;
|
|
proxy_connect_timeout 3;
|
|
proxy_send_timeout 3;
|
|
proxy_read_timeout 3;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Real_IP $remote_addr;
|
|
include proxy.params;
|
|
proxy_ssl_name $http_host;
|