You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2019. It is now read-only.
Add a health check to the NGINX configuration sample
With the release of the 2.2 version of Magento Varnish has been configured
to determine the state of the upstream HTTP proxy with a HTTP probe. This
probe polls a script called "health_check.php", located in the pub folder.
Unfortunately in the sample configuration, this script is not whitelisted as a PHP
executable script, and thus fails to get executed as expected. Varnish then marks
the host as down, refusing to serve any traffic.
This commit adds the health_check script to the executable PHP block, allowing
the varnish proxy to correctly determine the health of the application.
Fixes #11157
0 commit comments