mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-13 09:18:12 +08:00
37 lines
862 B
Plaintext
37 lines
862 B
Plaintext
|
# WallHaven Start
|
||
|
|
||
|
|
||
|
upstream WallHaven-cc {
|
||
|
server 15.235.80.145:443;
|
||
|
keepalive 16;
|
||
|
keepalive_time 1h;
|
||
|
keepalive_timeout 300s;
|
||
|
keepalive_requests 10000;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
|
||
|
keepalive_timeout 120;
|
||
|
proxy_set_header Connection "";
|
||
|
include proxy.params;
|
||
|
}
|
||
|
}
|
||
|
# WallHaven End
|