@@ -19,25 +19,26 @@ events {
19
19
}
20
20
21
21
http {
22
- include /etc/nginx/mime.types;
23
- default_type application/octet-stream;
24
- sendfile on ;
25
- server_tokens off ;
26
- tcp_nopush on ;
27
- tcp_nodelay on ;
28
- client_body_temp_path /tmp/nginx/body 1 2 ;
29
- keepalive_timeout 65 ;
30
- ssl_prefer_server_ciphers on ;
31
- gzip on ;
32
- proxy_ignore_client_abort off ;
33
- client_max_body_size 2000m ;
34
- proxy_http_version 1.1 ;
35
- proxy_set_header X-Forwarded-Scheme $scheme ;
36
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
37
- proxy_set_header Accept-Encoding "" ;
38
- proxy_cache off ;
39
- proxy_cache_path /var/lib/nginx/cache/public levels=1:2 keys_zone=public-cache:30m max_size=192m;
40
- proxy_cache_path /var/lib/nginx/cache/private levels=1:2 keys_zone=private-cache:5m max_size=1024m;
22
+ include /etc/nginx/mime.types;
23
+ default_type application/octet-stream;
24
+ sendfile on ;
25
+ server_tokens off ;
26
+ tcp_nopush on ;
27
+ tcp_nodelay on ;
28
+ client_body_temp_path /tmp/nginx/body 1 2 ;
29
+ keepalive_timeout 65 ;
30
+ ssl_prefer_server_ciphers on ;
31
+ gzip on ;
32
+ proxy_ignore_client_abort off ;
33
+ client_max_body_size 2000m ;
34
+ server_names_hash_bucket_size 64 ;
35
+ proxy_http_version 1.1 ;
36
+ proxy_set_header X-Forwarded-Scheme $scheme ;
37
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
38
+ proxy_set_header Accept-Encoding "" ;
39
+ proxy_cache off ;
40
+ proxy_cache_path /var/lib/nginx/cache/public levels=1:2 keys_zone=public-cache:30m max_size=192m;
41
+ proxy_cache_path /var/lib/nginx/cache/private levels=1:2 keys_zone=private-cache:5m max_size=1024m;
41
42
42
43
# MISS
43
44
# BYPASS
0 commit comments