nginx - client_max_body_size has no effect

前端 未结 13 1834
无人共我
无人共我 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条回答
  •  -上瘾入骨i
    2020-11-28 01:31

    Had the same issue that the client_max_body_size directive was ignored.

    My silly error was, that I put a file inside /etc/nginx/conf.d which did not end with .conf. Nginx will not load these by default.

提交回复
热议问题