Problem with old Kirby 2 Panel rewrites in Caddy v2

Thanks Francis, so like this? If so I still have no luck 404.

 @panel_files {
    path /panel
   	file {
   		try_files {path} /index.php
   	}
 }
 rewrite @panel_files {http.matchers.file.relative}

I did remove this, cleared my browser cache and tried running without, but it dos not work. The previous version of Caddy v1 did of course work and required it.