(v2) Exceed file size in upload in form

I have a Statamic v2 website that's hosted on DigitalOcean. It's deployed through Laravel Forge. The website has a form that contains a file upload. Everything works fine.

I've added client_max_body_size 5M to my nginx.conf to allow for uploads up to 5MB. That too works great.

However, when someone uploads a file that exceeds that limit I get that ugly 413 Request Entity Too Large screen.

Not sure if this is allowed here, but since Statamic and DigitalOcean play together so nicely I thought I'd try. Does anyone know a way to show a nicer error message in the form, prompting the user to select a smaller file?

>>>>>>> Unanswered <<<<<<<
2 Replies