From 632345845c97774cd4aec59b69bce1c5e704c491 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 8 Apr 2020 13:41:18 -0600 Subject: [PATCH] docs: Also mention changing the HTTP port for permissions errors --- src/docs/markdown/caddyfile-tutorial.md | 4 ++-- src/docs/markdown/quick-starts/caddyfile.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/markdown/caddyfile-tutorial.md b/src/docs/markdown/caddyfile-tutorial.md index 56afb70..0baa001 100644 --- a/src/docs/markdown/caddyfile-tutorial.md +++ b/src/docs/markdown/caddyfile-tutorial.md @@ -32,7 +32,7 @@ localhost ``` Then hit enter and type what you want it to do. For this tutorial, make your Caddyfile look like this: @@ -48,7 +48,7 @@ Save that and run Caddy (since this is a training tutorial, we'll use the `--wat
caddy run --watch
The first time, you'll be asked for your password. This is so Caddy can serve your site over HTTPS. diff --git a/src/docs/markdown/quick-starts/caddyfile.md b/src/docs/markdown/quick-starts/caddyfile.md index a135c64..7597b1a 100644 --- a/src/docs/markdown/quick-starts/caddyfile.md +++ b/src/docs/markdown/quick-starts/caddyfile.md @@ -13,7 +13,7 @@ localhost ``` Then hit enter and type what you want it to do, so it looks like this: @@ -34,7 +34,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 or use a higher port; a quick fix is to change your site's address to `localhost:2015` or similar. +If you get permission errors, you may need to run with elevated privileges. Either open your browser to [localhost](http://localhost) or `curl` it: