Nginx is misconfigured, it doesn't even hit php. You can see that from the response headers in the request when clicking the signup form button. I don't know how softaculous is supposed to work, but you would need to include the shipped nginx configuration file from Flarum.