Skip to content

Problem with CORS for multipart/form-data requests #3602

Answered by iBankow
tonymtz asked this question in Help
Discussion options

You must be logged in to vote

I had this same problem, it worked perfectly on Localhost, but when I went to production it returned 413. Until I found out that nginx limited files to 500mb "client_max_body_size 500m" and changed it to "client_max_body_size 5120m" and it worked.

You can also look at the .config/bodyparser file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tonymtz
Comment options

Answer selected by tonymtz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants