Skip to content

Instantly share code, notes, and snippets.

Created February 1, 2019 13:38
What would you like to do?
Nginx Config block for PHP-FPM Status and Ping page requests
location ~ ^/(status|ping)$ {
log_not_found off;
access_log off;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass php:9000;
# fastcgi_pass unix:/var/run/php7.2-fpm.sock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment