We are monitoring our DirectAdmin servers to check if they are up and running. One of the tests is a simple HTTP call to the IP address of the server and check the content of the reply. This is a very simple test because the content should always be "Apache is functioning normally". But there seems to be a catch because some servers answer with "Niginx is functioning normally". Our servers are running on Nginx_apache webserver so I can understand why Nginx is the one to respond. But the strange thing is that this answer sometimes changes over time. Like this morning where 3 of our servers changed the content from "Nginx" to "Apache".
The DirectAdmin system.log file shows me the following:
	
	
	
		
Ok, so the server reloaded its configuration. This probably happened due to an automatic update. But what changed in that configuration?
				
			The DirectAdmin system.log file shows me the following:
		Code:
	
	2022:06:09-06:25:51: signal HUP received. Reloading config file...
2022:06:09-06:25:51: directadmin reloaded
2022:06:09-06:25:51: Config file reloaded
2022:06:09-06:25:59: signal HUP received. Reloading config file...
2022:06:09-06:25:59: directadmin reloaded
2022:06:09-06:25:59: Config file reloaded
2022:06:09-06:25:59: signal HUP received. Reloading config file...
2022:06:09-06:25:59: directadmin reloaded
2022:06:09-06:25:59: Config file reloaded
2022:06:09-06:26:00: ips.conf rewritten
2022:06:09-06:26:35: nginx reloaded
2022:06:09-06:26:35: php-fpm73 reloaded
2022:06:09-06:26:35: php-fpm81 reloaded
2022:06:09-06:26:36: httpd reloadedOk, so the server reloaded its configuration. This probably happened due to an automatic update. But what changed in that configuration?
 
 
		 I mean, why would the answer ever change? In a Nginx_apache configuration it is always the same webserver that should answer your request right? Until it doesn't of course, like now.
 I mean, why would the answer ever change? In a Nginx_apache configuration it is always the same webserver that should answer your request right? Until it doesn't of course, like now.