Skip to content

Instantly share code, notes, and snippets.

@sylr
Created July 30, 2010 10:42
Show Gist options
  • Select an option

  • Save sylr/500298 to your computer and use it in GitHub Desktop.

Select an option

Save sylr/500298 to your computer and use it in GitHub Desktop.
location ~ ^/php-fpm-(status|ping)$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/php-fpm-status;
include fastcgi_params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment