enctype="multipart/form-data" in Laravel blade causes "Connection was reset"

  laravel, laravel-blade, nginx, php

I have an blade template file with form enctype="multipart/form-data". There is an input type="file" name="photo".

Whenever I try to upload a file, browser throws "The connection was reset" error.

Conf is: Ubuntu, nginx, php7.4…

Source: Ask PHP

LEAVE A COMMENT