pm.status_path blank nginx

location ~ ^/(status-blabla|ping)$ {
access_log off;
allow 127.0.0.1;
allow XX.XX.XX.XX;
deny all;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /status-blabla;
fastcgi_pass unix:/var/run/php5-fpm-blabla.sock;
}

# XX.XX.XX.XX is your IP address

Leave a Reply

Your email address will not be published. Required fields are marked *