Skip to content

[nginx] 錯誤,client intended to send too large body

Published: at 01:27 PM

之前因為把機器上原本的 apache 的 web server 換成 nginx,遇到了這個錯誤  client intended to send too large body

查了一下資料發現造成的原因為 web server 接收 request body 的大小設定

根據以下步驟更改一下 nginx 設定,就沒問題了

參考資料:

https://craftcms.stackexchange.com/questions/2328/413-request-entity-too-large-error-with-uploading-a-file