Update caddyfile.md

This commit is contained in:
AJ Schmidt 2020-08-04 22:58:47 -04:00 committed by GitHub
parent 55b2a684c8
commit 059ff2baae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ localhost:2016 {
You can give Caddy the updated configuration two ways, either with the API directly: You can give Caddy the updated configuration two ways, either with the API directly:
<pre><code class="cmd bash">curl localhost:2019/load \ <pre><code class="cmd bash">curl localhost:2016/load \
-X POST \ -X POST \
-H "Content-Type: text/caddyfile" \ -H "Content-Type: text/caddyfile" \
--data-binary @Caddyfile --data-binary @Caddyfile
@ -78,4 +78,4 @@ When you are done with Caddy, make sure to stop it:
- [Common patterns](/docs/caddyfile/patterns) - [Common patterns](/docs/caddyfile/patterns)
- [Caddyfile concepts](/docs/caddyfile/concepts) - [Caddyfile concepts](/docs/caddyfile/concepts)
- [Directives](/docs/caddyfile/directives) - [Directives](/docs/caddyfile/directives)