Skip to content

Commit

Permalink
Revert nginx readiness endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Oct 31, 2024
1 parent 9b5fdbb commit bb4509e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions deploy/config/local/nginx/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}

0 comments on commit bb4509e

Please sign in to comment.