added nginx location for fpm ping

migrate-github-actions
Marvin 2019-02-05 11:27:05 +01:00
parent 3c133d965a
commit 5c674bdd96
1 changed files with 10 additions and 0 deletions

View File

@ -65,5 +65,15 @@ http {
log_not_found off;
deny all;
}
# allow fpm ping and status from localhost
#
location ~ ^/(fpm-status|fpm-ping)$ {
access_log off;
allow 127.0.0.1;
deny all;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
}
}
}