You can create a Caddy route to block requests before they get to your applications
{ "handle": [ { "handler": "static_response", "status_code": "404", "body": "" } ], "match": [ { "path": [ "*.php" ] } ], "terminal": true },
Thanks for your feedback!