C
C
Chvalov2015-12-09 13:49:33
Nginx
Chvalov, 2015-12-09 13:49:33

What is the advantage of using apache+nginx in what cases is it used?

I saw topics on the network for installing apache along with nginx, but I still didn’t understand what to install them for, why not one of the two?
In what cases should they be used together, and where separately.
And which of the two is safer and faster?
Do not send to Google, it asks for capta all the time (

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey, 2015-12-09
@gangstarcj

Go to Yandex then)

P
Pavel, 2015-12-09
@rusbaron

do you need it?) If one of the two suits you, then don’t worry.
habrahabr.ru/post/267721
lib.clodo.ru/web-%D0%A1%D0%B5%D1%80%D0%B2%D0%B5%D1...

S
Softer, 2015-12-09
@Softer

In this form, nginx usually gives statics, and dynamics continues to slow down on Apache. Almost always, you can safely change to pure nginx.

A
Andrew, 2015-12-09
@misterfil

The only advantage is not to do global rebuilds with the project and quickly unload the server from the gluttonous Apache. And for a clean install, this bundle is obsolete

V
Vi, 2015-12-24
@redsabien

Nginx = frontend - this means that when an http request comes in and there is no need to process the database or wait for a response from the engine (for example, django), then nginx immediately issues a response locally from disk or cache.
If you suddenly need to process some data there (for example, django), then it is better to use it with apache because it is "advertised and checked by professionals" and the speed and reliability of dynamic data work with apache.
I am too lazy to draw a picture, but if necessary I will try to explain in more detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question