nginx的client_body_in_file_only 为啥没产生请求体文件呢

hphper 发布于 2017/03/06 20:33
阅读 495
收藏 0

在http里配置了

为啥没生成请求文件呢?哪里还需要额外配置呢?

加载中
0
hphper
hphper

没人遇到过吗

0
djwf5
djwf5

nginx -T | grep -i client_body
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
client_body_in_file_only on;

 

在上传文件后:

root@bbs-dev client_body $ cd /var/lib/nginx/tmp/client_body
root@bbs-dev client_body $ ls -lh
total 20K
-rw------- 1 nginx nginx 7.6K Apr 23 19:52 0000000004
-rw------- 1 nginx nginx 2.7K Apr 23 19:53 0000000005
-rw------- 1 nginx nginx  155 Apr 23 19:53 0000000006
-rw------- 1 nginx nginx  125 Apr 23 19:55 0000000007

 

返回顶部
顶部