HAProxy & apache, or nginx?

hello -

i have been having a difficult time getting apache to proxy correctly.

several forums have suggested either moving to nginx, or continue to use apache with HAProxy as a front end.

any opinions here? it appears that virtualmin is far more popular on apache than nginx and using HAProxy may be less of a learning curve.

but others have suggested that nginx is pretty straightforward, and after using it for a time, suddenly apache seems difficult.

please share any opinions.

it looks like Varnish may be the way to go - any other opinions?

i was able to finally get reverse-proxy working properly on Apache: https://stackoverflow.com/questions/60498087/issues-running-socket-io-over-an-apache-proxy

but i am still curious about HAProxy, nginx, squid, and varnish.