feat: synchronize with API Platform's definition (#113)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
7
docker/php/php-fpm.d/zz-docker.conf
Normal file
7
docker/php/php-fpm.d/zz-docker.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
[global]
|
||||
daemonize = no
|
||||
|
||||
[www]
|
||||
listen = /var/run/php/php-fpm.sock
|
||||
listen.mode = 0666
|
||||
ping.path = /ping
|
||||
Reference in New Issue
Block a user