https://github.com/benstigsen/caddy-webserver
minimal, no-fuss, caddy webserver configuration with html templating and markdown
https://github.com/benstigsen/caddy-webserver
Last synced: 7 months ago
JSON representation
minimal, no-fuss, caddy webserver configuration with html templating and markdown
- Host: GitHub
- URL: https://github.com/benstigsen/caddy-webserver
- Owner: benstigsen
- Created: 2024-10-17T22:17:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T22:42:45.000Z (over 1 year ago)
- Last Synced: 2025-06-11T20:21:33.404Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
```