diff --git a/build/dev/web-default-conf-cm.yaml b/build/dev/web-default-conf-cm.yaml index 627a53c7..fc42663b 100644 --- a/build/dev/web-default-conf-cm.yaml +++ b/build/dev/web-default-conf-cm.yaml @@ -281,5 +281,14 @@ data: log_not_found off; deny all; } + + location ~ ^/(status|ping)$ { + access_log off; + allow 127.0.0.1; + deny all; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; + } } diff --git a/build/qa/web-default-conf-cm.yaml b/build/qa/web-default-conf-cm.yaml index 382a6c20..a4145fec 100644 --- a/build/qa/web-default-conf-cm.yaml +++ b/build/qa/web-default-conf-cm.yaml @@ -281,5 +281,13 @@ data: log_not_found off; deny all; } + location ~ ^/(status|ping)$ { + access_log off; + allow 127.0.0.1; + deny all; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; + } }