As a workaround, I must add the following block into any server configuration using try_files:
location ~ ^/(status|ping)$ {
deny all;
}
This is only a workaround and it remains risky because I might forget to add these instructions on a new server one day.
location ~ ^/(status|ping)$ {
deny all;
}
This is only a workaround and it remains risky because I might forget to add these instructions on a new server one day.