I’m trying to create a blog with Hugo and serve it with Caddy.
So far I managed to install Caddy and Hugo without problems, also I created the Hugo site with a test post but when I try to run caddy and go to the website it returns a Not Found error.
There you go. The tilde version won’t work in the Caddyfile because ~ is a bash expansion, not a Caddy one.
The absolute path works, but a 404 means there is no index file found. This page has the index files that are recognized by Caddy: Welcome — Caddy Documentation