I
I
issssrt2015-11-08 16:06:04
linux
issssrt, 2015-11-08 16:06:04

Is it possible to selectively use apache and ngnix?

Is it possible to use only Apache on my server for one site, and ngnix for another?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ruslan Fedoseev, 2015-11-08
@issssrt

Well, you won't be able to hang two demons on one port 80.
It will turn out to hang nginh on 80, apache on 81, and by means of nginh redirect the site to apache. This is actually how it usually works.
Well, or let nginh listen to ssl port (443), and apache 80.
There is no other way

S
Sergey, 2015-11-08
Protko @Fesor

give everything through nginx, hang apache on port 8080 for example (or any available one at all) and just proxy requests for specific sites to apache.

V
Victor Taran, 2015-11-09
@shambler81

the guys are right, but if we already talk about the options for the name of the question, then
start everything in nginx and there or give php-fpm on nginx itself, but those that need to be kept on the apache mod give the proxy to apache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question