T
T
timofy2020-01-16 14:52:16
Nginx
timofy, 2020-01-16 14:52:16

Problem: the site runs on both Apache and Nginx, as a result, the problem. How to decide?

In general, the essence is this: both Apache and Nginx are installed on the hosting. Plus Passenger is also installed. In the processes, I see that the site is running on both Apache and Nginx, as a result of which notifications began to be duplicated on the site.
I see two solutions:
1) Disable or remove Apache or Nginx. But in this case, you need to understand on which server what works and it is likely that important systems, such as the MySQL server, my other sites, or something else, can work on one and the other. Therefore, I am afraid that by disabling or deleting Apache or Nginx I will create new problems for myself
.
In file:

/etc/httpd/conf/plesk.conf.d/ip_default/mysite.org.conf

instead,
PassengerEnabled on
I registered
PassengerEnabled off
and the site stopped running on Apache. But after some time this file is automatically generated in a new way and everything comes back. Somewhere it needs to be turned off somewhere else, but where - I don’t know yet.
What can you suggest about this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gip, 2020-01-16
@Giperoglif


MySQL on Apache or Nginx is strong... Judging by your post - you are absolutely not in the subject, I'm sorry.

A
Alexey Dmitriev, 2020-01-16
@SignFinder

If the site is running on both Apache and nginx, they will listen to requests on different ports. If the site runs on nginx + apache as a backend, this is a completely different story.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question