/caddy-webserver

minimal, no-fuss, caddy webserver configuration with html templating and markdown

Primary LanguageHTML

I'm tired of configuring static site generators and setting up reverse-proxies. I just want something simple, that doesn't require a lot of resources.

I use Caddy for reverse proxies, and it supports file serving, templating and markdown, so it seemed intuitive to ditch my own complicated solutions, to just make full use of Caddy, since it was a dependency anyway.

This repo shows a minimal but easy-to-configure setup for various static websites, like a blog.

Add your domain to the Caddyfile:

foo.com {
  root /path/to/root
  import common
}

Save the Caddyfile somewhere and now you can run it by executing:

caddy start -w -c /path/to/Caddyfile