P
P
poimanoo2017-07-10 09:54:51
Nginx
poimanoo, 2017-07-10 09:54:51

What is apache on the backend for?

Hello.
There is such a popular scheme on the Internet:
Nginx is a frontend with statics, apache is a backend that goes to the database and returns data to the front. I installed php-fpm on the backend, went to the database and returned the data to the front, while not installing any Apaches. What is Apache for then?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2017-07-10
@Stalker_RED

If you already have nginx + php-fpm, and you don't need any Apache-specific modules, then you don't need Apache either.
For about twenty years, Apache has been and remains the most widespread web server on the Internet. Recently, it has been gradually giving way to nginx, but there are still a huge number of projects for which it is easier to add nginx as an additional layer than to completely abandon apache.

A
Andrey Sanych, 2017-07-10
@mountpoint

it's all a matter of time and desire to transfer the site completely to nginx. Apache and nginx are mostly crossed only out of laziness to completely transfer the site to nginx, since everything needs to be configured differently there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question