mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: Tip about not forgetting @ in curl command. (#19)
* Give a tip about not forgetting @ in curl command. * Update src/docs/markdown/api-tutorial.md Co-Authored-By: Matt Holt <mholt@users.noreply.github.com> * remove additional lines * remove extra lines Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
73c012cbef
commit
9ec7d1856a
1 changed files with 4 additions and 1 deletions
|
@ -73,6 +73,10 @@ Then upload it:
|
|||
-d @caddy.json
|
||||
</code></pre>
|
||||
|
||||
<aside class="tip">
|
||||
Make sure you don't forget the @ in front of your filename; this tells curl you are sending a file.
|
||||
</aside>
|
||||
|
||||
<aside class="complete">Give Caddy a config</aside>
|
||||
|
||||
We can verify that Caddy applied our new config with another GET request:
|
||||
|
@ -205,4 +209,3 @@ And check it again:
|
|||
|
||||
<aside class="complete">Use <code>@id</code> tags</aside>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue