compare nginx and apache-nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
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 use vestaCP (apache-nginx)

timeload over 10s -20s:!/bN8niZ/htt ... truyenfull : use nginx
timeload: 5s -10s!/eKoeQj/htt ... ... t/xpZMjPTa

so nginx-apache is not Optimization than nginx?

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.

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: Bing [Bot] and 6 guests