Nginx läuft auf Port 8443 über https
Code: Alles auswählen
# Monitors the Nginx HTTP server
check process nginx with pidfile /var/run/nginx.pid
start program "/etc/init.d/nginx start"
stop program "/etc/init.d/nginx stop"
if failed port 8443 protocol https then restart
if 5 restarts within 5 cycles then timeout
Code: Alles auswählen
# Monitors the Nginx HTTP server
check process nginx with pidfile /var/run/nginx.pid
start program "/etc/init.d/nginx start"
stop program "/etc/init.d/nginx stop"
if failed port 8443 then restart
if 5 restarts within 5 cycles then timeout
connection failed to localhost:8443 [DEFAULT via TCP]