mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 04:15:04 -04:00
No description
![]() `Access-Control-Request-Method` is a request header sent by the client (browser, ...) but we need to send response header with all allowed methods. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods |
||
---|---|---|
.github | ||
src | ||
.editorconfig | ||
.gitignore | ||
Caddyfile | ||
README.md |
The Caddy Website
This is the source of the Caddy website, caddyserver.com.
Requirements
- Caddy 2 (installed in your PATH as
caddy
)
Quick start
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.