How do you manage the site check page?

Asked 2 years ago, Updated 2 years ago, 90 views

I'm worried because the site inspection page is an important part of the service operation.

What you can usually think of is

When you receive a uri request, you modify the .htaccess file in that folder to look at the check page of the same path.

But in that case, the problem is not a management problem if there is only the service If there are several services other than the service, there is a problem that the service inspection page has to be managed separately for management, and the service inspection page is subordinate to the project

There are a and b services under home, and the general service check page management folder named z is located in the same route I was going to manage it by changing the vhost for auri from a to z.

The problem here is that you need to restart the web server, such as Apache.

When you have one universal check page described above and you can't even restart the web server due to various internal problems Is there any other way to display a check page other than using vhost?

I wonder how you manage other services.

http

2022-09-22 22:02

1 Answers

If the problem is that the session is disconnected, you can start Apache again with graceful.

Run the command below to fork the new process and look at the port, and the existing session is disconnected normally before the process goes down.

In this case, if you have a persistent connection, such as websocket, you need to process it separately, but if it's a regular web page, it works well.

apachectl -k graceful

Apache Stopping


2022-09-22 22:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.