caddy-website/README.md

24 lines
832 B
Markdown
Raw Normal View History

2020-01-24 12:54:40 -07:00
The Caddy Website
=================
This is the source of the Caddy website, [caddyserver.com](https://caddyserver.com).
## Requirements
2023-12-07 19:11:10 -07:00
- Caddy v2.7.6 or newer (installed in your PATH as `caddy`)
- To display the retro hit counter (just for fun), the [caddy-hitcounter](https://github.com/mholt/caddy-hitcounter) plugin.
2020-01-24 12:54:40 -07:00
## Quick start
1. `git clone https://github.com/caddyserver/website.git`
2. `cd website`
3. `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](https://github.com/caddyserver/website/blob/master/Caddyfile#L1), for example `localhost:2015`.
2020-03-14 10:38:42 -06:00
You can then load [https://localhost](https://localhost) (or whatever address you configured) in your browser.
2020-01-24 12:54:40 -07:00