R
R
Riku2012-08-30 05:46:21
Nginx
Riku, 2012-08-30 05:46:21

Apache + NginX - is it possible?

The task arose to install Apache and Nginx on the same server, while hanging them on different ports and making them independent of each other. Dancing with a tambourine and the search for mana did not bring success. I'll be absolutely precise - it is necessary that Apache give out information from / var / www, and Nginx from / srv / www / * name *
Is such a bunch workable in principle?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
DevMan, 2012-08-30
@Riku

Operable.

P
Puma Thailand, 2012-08-30
@opium

It seems to me that if you separately read the dock on setting up Apache and setting up nginx, set everything up on different ports and run this is your option, of course you will not find docks on how to set up Apache and nginx in parallel, these are two separate docks.
Children's questions completely went habré.

V
vsespb, 2012-08-30
@vsespb

you can even put them on the same port (in this case, nginx will proxy apache, such a setup itself is quite common). but it's certainly more difficult.

C
cronfy, 2012-08-30
@cronfy

What exactly is the problem? Did you put nginx and apache on different ports? Did they start? Sites on each of them set up? Then everything should work.
PS This is not a bundle, these are two isolated services. They will not affect each other in any way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question