Increment nginx check port

In the event that both NGINX and apache are co-existing on the same machine
the status port check for both platforms will be the same, and that will
cause one of the services to not start. This change increments the NGINX
check port to ensure there are no conflicts.

Change-Id: I03d5d351fff2d6926f35ca860c01f5a075de42aa
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
This commit is contained in:
Kevin Carter 2019-02-14 20:42:56 -06:00
parent 52c2702587
commit 326fde4895
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@ metricbeat.modules:
period: 30s
# Nginx hosts
hosts: ["http://127.0.1.1:18181"]
hosts: ["http://127.0.1.1:18182"]
# Path to server status. Default server-status
server_status_path: "server-status"

View File

@ -1,5 +1,5 @@
server {
listen 127.0.1.1:18181;
listen 127.0.1.1:18182;
location /server-status {
stub_status on;
access_log off;