This is the source of the Caddy website, caddyserver.com.
- Caddy v2.7.6 or newer (installed in your PATH as
caddy
) - To display the retro hit counter (just for fun), the caddy-hitcounter plugin. Then uncomment the relevant lines in the Caddyfile.
git clone https://github.com/caddyserver/website.git
cd website
caddy run
Your first time, you may be prompted for a password. This is so Caddy can serve the site over local HTTPS. If you can't bind to low ports, change the address at the top of the Caddyfile, for example localhost:2015
.
You can then load https://localhost (or whatever address you configured) in your browser.