Apache vs Cpanel's NGINX with Reverse Proxy

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 820693
    • Gender:Male
  • point d’amour
Apache vs Cpanel's NGINX with Reverse Proxy

I was testing Cpanel's NGINX with Reverse Proxy using Chrome's Lighthouse (F12, select Lighthouse).

Installing nginx was easy, the only issue was that the server sites appeared down immediately after install, which was resolved with restarting nginx.

The Cpanel implementation of nginx offers very little in the manner of configuration, basically only enable/disable/clear cache for specific domains. No support for http2, brotli (sample config) or any further nginx cache configuration and favicon is currently not supported either.

I used two SMF forum pages for testing purposes: the index page and a topic page. Here are the results.

Index
MetricApacheNginx
Performance9965
Accessibility7575
Best Practices8787
SEO8280
First Contentful Paint0.5 s1.7 s
Speed Index0.6 s9.4 s
Largest Contentful Paint0.9 s2.2 s
Time to Interactive0.8 s1.7 s
Total Blocking Time50 ms20 ms
Cumulative Layout Shift0.0740

Topic
MetricApacheNginx
Performance9093
Accessibility7272
Best Practices7373
SEO9291
First Contentful Paint0.6 s1.1 s
Speed Index0.8 s1.1 s
Largest Contentful Paint0.7 s1.2 s
Time to Interactive1.3 s1.6 s
Total Blocking Time290 ms90 ms
Cumulative Layout Shift0.0740.074

Attached the actual tests

Engintron appears to be an alternative solution favoured by many as a Cpanel reverse proxy.
« Last Edit: 13 Apr, 2021, 22:27:42 by spiros »


 

Search Tools