mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 04:07:13 -04:00
Update caddyfile.md
This commit is contained in:
parent
55b2a684c8
commit
059ff2baae
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue