Page 1 of 1

Do we need nginx and apache coexist in default installation.

Posted: Tue Dec 02, 2014 3:22 am
by sauvegardezvous99
hello,

since I've installed VestaCP on CentOS6.5, I saw that nginx and apache are up and running.

Is it an error or Vesta needs both to run fine ?
I have no problem to let them coexists, but why, in that case, propose that link:
http://vestacp.com/docs/#how-to-remove- ... hel-centos ?

thank you
regards,

Re: Do we need nginx and apache coexist in default installat

Posted: Wed Dec 03, 2014 5:10 pm
by szimre
Hi!

nginx receives the :80 requests and then passing them to :8080 to Apache, you can set up nginx to cache resources. It's a reverse proxy.

You can remove it from the chain with the instructions on the Documentation page if you would like to.

Re: Do we need nginx and apache coexist in default installat

Posted: Wed Dec 03, 2014 5:19 pm
by sauvegardezvous99
no, I don't need to remove it instead I want understand how that works.
nginx receives the :80 requests and then passing them to :8080 to Apache, you can set up nginx to cache resources. It's a reverse proxy.
does that way is for performance or security ?

Re: Do we need nginx and apache coexist in default installat

Posted: Wed Dec 03, 2014 5:46 pm
by Milka
sauvegardezvous99 wrote:no, I don't need to remove it instead I want understand how that works.
nginx receives the :80 requests and then passing them to :8080 to Apache, you can set up nginx to cache resources. It's a reverse proxy.
does that way is for performance or security ?
Performance.

Re: Do we need nginx and apache coexist in default installat

Posted: Wed Dec 03, 2014 6:02 pm
by sauvegardezvous99
so I will let both running. thx :)