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

Apache Vs Nginx?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
turkey3
Posts: 75
Joined: Tue Aug 19, 2014 6:59 pm

Apache Vs Nginx?
  • Quote

Post by turkey3 » Tue Nov 25, 2014 6:09 pm

This confuses me a bit since Vesta uses both these softwares. Which is the main one? What I mean is, do all requests on port 80 go through both Apache and Nginx, figuring out which one is meant for them, or does it all go through Apache which can redirect it to Nginx?

Also, Apache uses configuration files for its virtual hosts. Where are the Nginx virtual host files? Thanks! Just need some confusion cleared up.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Apache Vs Nginx?
  • Quote

Post by sim » Tue Nov 25, 2014 6:43 pm

Apache serves dynamic files (php)

Nginx serves
jpg, jpeg, gif, png, ico, svg, css, zip, tgz, gz, rar, bz2, doc, xls, exe, pdf, ppt, txt, odt, ods, odp, odf, tar, wav, bmp, rtf, js, mp3, avi, mpeg, flv, html, htm
Apache is port 8080
Nginx port 80

configs are /home/user/conf/web

Start using google. This is not the place for newbie questions regarding WebServers.
Top


Post Reply
  • Print view

2 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