nginx - client_max_body_size has no effect

前端 未结 13 1895
无人共我
无人共我 2020-11-28 01:13

nginx keeps saying client intended to send too large body. Googling and RTM pointed me to client_max_body_size. I set it to 200m in th

13条回答
  •  天命终不由人
    2020-11-28 01:36

    Please see if you are setting client_max_body_size directive inside http {} block and not inside location {} block. I have set it inside http{} block and it works

提交回复
热议问题