- Plesk for Linux
The following error message is shown in Plesk when:
uploading a large backup file via Backup Manager
importing a large database dump
PLESK_INFO: 504 Gateway Time-out
The following error message is logged in
CONFIG_TEXT: [error] 25312#0: *59 client intended to send too large body: 1200002689 bytes
Upload size limit which is set up in Plesk configuration has been exceeded by the operation.
Connect to the Plesk server via SSH.
Open the file
/etc/sw-cp-server/configin a text editor. In this example we use the vi editor:
# vi /etc/sw-cp-server/config
Increase the value of client_max_body_size to the size of the uploaded file:
CONFIG_TEXT: client_max_body_size 4096m;
Save the changes and close the file.
Restart the Plesk services:
# service sw-cp-server restart && service sw-engine restart
- Retry the failed operation.