Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

compare nginx and apache-nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ducmu
Posts: 3
Joined: Thu Aug 31, 2017 1:17 am
Contact:
Contact ducmu
Skype

Os: Debian 6x
Web: nginx + php-fpm
compare nginx and apache-nginx
  • Quote

Post by 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?
Top

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

Re: compare nginx and apache-nginx
  • Quote

Post by 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.
Top

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

Re: compare nginx and apache-nginx
  • Quote

Post by 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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password