Hello cahixiv.
The error looks similar to the one encountered by another user.
Try the described solution (unlink /etc/nginx/modules-enabled/50-mod-http-perl.conf
) and let us know the result: Nginx exit with error code - #2 by Alexandre
NB! We recommend you to prepare whole server backup just in case.