Answer the question
In order to leave comments, you need to log in
How to make nginx and apache2 work on port 80 of the same interface?
Given: Ubuntu Server 14.04; Nginx; Apache2
There is an eth0 interface and a subinterface eth0:0. Both have different ip addresses.
There is Nginx, which listens on port 1935 and gives on 80 and 1935 ports eth0.
There is Apache2 which listens on port 8080 eth0:0.
Question: how to make Apache2 listen on port 80 eth0:0?
Any attempt to set port 80 does not let Nginx through. It is necessary to ensure their simultaneous operation on different ip, but on the same port 80.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question