@aapanel_power ~ I hope we can get a solution to this issue. Nginx or Apache, both should work out of the box without the need to add other optimizations.
In this case, the unending PHP/PHP-FPM processes (that result to 100% CPU usage) show that requests are not being served from cache. Instead, they're being called directly from the server.
You may notice that when you apply these modifications as suggested by @aapanel_user , all requests are processed from cache and not from the backend PHP/PHP-FPM processes.
The problem is not everyone uses WP Super Cache and other cache plugins don't have the provision to apply the expert rules.
I have done tests with CentOS Web Panel, ZesleCP, and OviPanel. All these build Nginx/Apache to work straight out of the box without requiring any modifications.
I hope that will be fixed. aaPanel is super simple to use and how I wish it compiled the server environments well.