Skip to content

Commit 20cdd42

Browse files
committed
Update i.pximg.net proxy
1 parent a892ef0 commit 20cdd42

File tree

3 files changed

+105
-106
lines changed

3 files changed

+105
-106
lines changed

conf/nginx.conf

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,36 @@
11

22
#user nobody;
3-
worker_processes 1;
3+
worker_processes 1;
44

55
#error_log logs/error.log;
66
#error_log logs/error.log notice;
77
#error_log logs/error.log info;
88

99
#pid logs/nginx.pid;
10-
11-
1210
events {
13-
worker_connections 1024;
11+
worker_connections 1024;
1412
}
1513

1614

1715
http {
18-
include mime.types;
19-
default_type application/octet-stream;
16+
include mime.types;
17+
default_type application/octet-stream;
2018

2119
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
2220
# '$status $body_bytes_sent "$http_referer" '
2321
# '"$http_user_agent" "$http_x_forwarded_for"';
2422

2523
#access_log logs/access.log main;
26-
27-
sendfile on;
24+
sendfile on;
2825
#tcp_nopush on;
2926

3027
#keepalive_timeout 0;
31-
keepalive_timeout 65;
28+
keepalive_timeout 65;
3229
client_max_body_size 100m;
3330
server_names_hash_max_size 512;
3431
server_names_hash_bucket_size 1024;
3532

3633
#gzip on;
37-
34+
3835
include pixiv.conf;
3936
}

0 commit comments

Comments
 (0)