diff --git a/src/docs/markdown/quick-starts/caddyfile.md b/src/docs/markdown/quick-starts/caddyfile.md index 290c2a8..d881fbd 100644 --- a/src/docs/markdown/quick-starts/caddyfile.md +++ b/src/docs/markdown/quick-starts/caddyfile.md @@ -14,7 +14,7 @@ localhost @@ -37,7 +37,7 @@ You will probably be asked for your password, because Caddy serves all sites -- For local HTTPS, Caddy automatically generates certificates and unique private keys for you. The root certificate is added to your system's trust store, which is why the password prompt is necessary. It allows you to develop locally over HTTPS without certificate errors. -If you get permission errors, you may need to run with elevated privileges. +(If you get permission errors, you may need to run with elevated privileges or choose a port higher than 1024.) Either open your browser to [localhost](http://localhost) or `curl` it: diff --git a/src/docs/markdown/quick-starts/reverse-proxy.md b/src/docs/markdown/quick-starts/reverse-proxy.md index f420c0e..23d2fda 100644 --- a/src/docs/markdown/quick-starts/reverse-proxy.md +++ b/src/docs/markdown/quick-starts/reverse-proxy.md @@ -100,7 +100,7 @@ This requires that the backend's certificate is trusted by the system Caddy is r Of course, you can do HTTPS on both ends too: -
caddy reverse-proxy --from example.com --to https://localhost:9000
+
caddy reverse-proxy --from example.com --to https://example.com:9000
This serves HTTPS from client to proxy, and from proxy to backend. diff --git a/src/docs/markdown/v2-upgrade.md b/src/docs/markdown/v2-upgrade.md index 2705273..1f51c30 100644 --- a/src/docs/markdown/v2-upgrade.md +++ b/src/docs/markdown/v2-upgrade.md @@ -155,7 +155,7 @@ file_server /subfolder/* browse Custom error pages can be accomplished with [`handle_errors`](/docs/caddyfile/directives/handle_errors). -- **v1:**: +- **v1:** ``` errors { @@ -164,7 +164,7 @@ errors { } ``` -- **v2:**: +- **v2:** ``` handle_errors {