It’s not a directive, it’s a global option. See Caddyfile Concepts — Caddy Documentation which explains the structure of a Caddyfile.
I don’t see any containers called supabase
in your stack. Which one has the HTTP server? Use that container’s name.
Is it kong
? Then you should proxy to supabase-kong:8000