issues
search
evolution
/
wordpress
Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200
stars
18
forks
source link
Periodic health checking of varnish
#154
Closed
EvanK
closed
7 years ago
EvanK
commented
7 years ago
[x] varnish responds to a health check endpoint:
/varnish-status
returns
200
to any client able to send PURGE requests (currently just localhost)
returns
404
otherwise
[x] added script to check endpoint and kick (restart) varnish as necessary
runs as minutely cron job
re-runs health check after restarting service
if still down after a restart, waits 5 minutes before another restart
/varnish-status
200
to any client able to send PURGE requests (currently just localhost)404
otherwise