Fix Bad Gateway error when upload file

When uploading file size increase GUI throws Bad Gateway error. how can I set the maximum upload size in OpenWrt.

anyone? please help