Ask HN: Is anyone using Caddy to serve html from a Git repo directly?

2 indigodaddy 1 4/28/2025, 8:06:26 PM
..as in this example from a dated DigitalOcean KB:

https://www.digitalocean.com/blog/deploying-a-fully-automated-git-based-static-website-in-under-5-minutes#:~:text=Caddy%E2%80%99s%20configuration%20file,https%3A//%7Bhost%7D%7Buri%7D%20%7D%20%7D

Comments (1)

ycombinatrix · 3d ago
I would generally go with github pages if I had a completely static website.

Never served static html from caddy directly, I have a separate application server behind caddy 99.9% of the time (which may or may not serve static html)