@@ -19,25 +19,26 @@ events {
1919}
2020
2121http {
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 ;
4142
4243 # MISS
4344 # BYPASS
0 commit comments