Caddy gives errors on the most basic Caddyfile?

Hi so i tried that and it seems to run - but I see a blank page on the domain instead of “Foo”

I also tried running the actual website code

indrajeethaldar.com {
	root * /home/indrajeet/portfolio
	file_server
}

and despite there being an index file there it seems to be giving me a blank page

/portfolio$ ls
about.html              index.html           all.html       data                    Projects                images