HACKER Q&A
📣 indigodaddy

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


..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


  👤 ycombinatrix Accepted Answer ✓
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)