Use apache or nginx web server for better performance

Hi everyone,I’m new guy here…
Which of web server could I use for my nextcloud? apache or nginx for better performance ?
What should I configure for my nextcloud server running faster?
Thank you.

I don’t know about the web servers, if you already know one of them stick to it. I prefer apache because I have set up a lot of portals, nextcloud, wordpress and other.

What definitely makes a performance difference, is to enable php-fpm. This is possible with both web servers. For apache, I followed these guides:

What also improves performance, is to enable http/2 on the web server.