feat: synchronize with API Platform's definition (#113)

This commit is contained in:
Kévin Dunglas
2021-02-09 10:42:17 +01:00
committed by GitHub
parent 235f6f8edc
commit d6f3e7653f
7 changed files with 79 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ export SCRIPT_NAME=/ping
export SCRIPT_FILENAME=/ping
export REQUEST_METHOD=GET
if cgi-fcgi -bind -connect 127.0.0.1:9000; then
if cgi-fcgi -bind -connect /var/run/php/php-fpm.sock; then
exit 0
fi

View File

@@ -0,0 +1,7 @@
[global]
daemonize = no
[www]
listen = /var/run/php/php-fpm.sock
listen.mode = 0666
ping.path = /ping