New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Upload File - Error 500

Started by Antonin, September 14, 2021, 09:36:29 AM

Previous topic - Next topic

Antonin

Hello,

As soon as I upload (via WordPress) a file larger than 500 Kb, I get a 500 error with Ngix
"500 Internal Server Error" or the following message "The server returned an unexpected response. However, the file may have been uploaded successfully. Please check the media library or refresh the page."
The file size limit to upload is set to 2GB, where can the problem come from?

Thanks for your help

Antonin

My problem was solved by adding this parameter in the Varnish conf http_req_size: 64k