compare nginx and apache-nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
ducmu
Posts: 3
Joined: Thu Aug 31, 2017 1:17 am

compare nginx and apache-nginx

Postby ducmu » Sat Sep 02, 2017 9:12 am

i read doc and it said nginx and apache-nginx have the same load time

but in real, it has many diffrent

http://hanoi24.tk/truyenfull/: use vestaCP (apache-nginx)

timeload over 10s -20s:
https://tools.pingdom.com/#!/bN8niZ/htt ... truyenfull
https://gtmetrix.com/reports/hanoi24.tk/a0hyuDW0

http://dragonballwiki.net/ : use nginx
timeload: 5s -10s
https://tools.pingdom.com/#!/eKoeQj/htt ... lwiki.net/
https://gtmetrix.com/reports/dragonball ... t/xpZMjPTa

so nginx-apache is not Optimization than nginx?

gecube_ru
Posts: 138
Joined: Thu Jun 22, 2017 1:21 pm

Re: compare nginx and apache-nginx

Postby gecube_ru » Sun Sep 03, 2017 10:34 am

It is incorrect to directly compare
(a) different web sites
(b) and nginx to nginx+apache, because nginx can't handle dynamic contents. nginx can be used for static content and as reverse proxy to apache or php-fpm (or any other web server, for example, gunicorn), latter will serve the dymanic pages.

Also the nginx settings dramatically affect on the performance.

websystems
Posts: 8
Joined: Wed Oct 18, 2017 6:34 am

Re: compare nginx and apache-nginx

Postby websystems » Wed Oct 18, 2017 6:56 am

That is why in many cases it is good idea to use both - nginx for static pages, images etc. and apache for dynamic pages.


Return to “Web Server”



Who is online

Users browsing this forum: No registered users and 3 guests