File upload "kills" whole server through Apache?

Disable mod_security. It’s won’t work in a default configuration with Nextcloud (unless something has significantly changed recently).[1]

https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#web-server-and-php-modules