diff --git a/deploy/config/local/nginx/server.conf b/deploy/config/local/nginx/server.conf index 8d0076ceb..43abc08dd 100644 --- a/deploy/config/local/nginx/server.conf +++ b/deploy/config/local/nginx/server.conf @@ -308,18 +308,8 @@ server { # LOCATIONS - heath ## - location = /liveness { + location ~ ^/(liveness|readiness)$ { return 200; } - location = /readiness { - # Make sure we can connect to php-fpm via the socket. - set $script_name /metrics/socket.php; - - fastcgi_param SCRIPT_FILENAME $document_root$script_name; - include fastcgi_params; - - fastcgi_pass fpm; - } - }