@
@
@narodec2018-03-23 18:17:26
Nginx
@narodec, 2018-03-23 18:17:26

How to set up nginx and apache to work separately?

Hello. Tell me, such a problem. The server runs the script on IP through Nginx. But at the same time, the client asked to install an ISP where Apache runs. In order for them to work simultaneously in the Nginx settings, I registered a different port.
listen 8080;
server { listen IP:8080; .....
Both started, but the site opens on nginx does not work, leads to apache

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Syomov, 2018-03-23
@kotomyava

If you have nginx hanging on 8080, then the site will have to be opened on sitename.tld:8080
And if this does not work, check if port 8080 is not blocked from the outside by a firewall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question