mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 04:15:04 -04:00
Give a tip about not forgetting @ in curl command.
This commit is contained in:
parent
eae81aed75
commit
73897fafd8
1 changed files with 7 additions and 0 deletions
|
@ -73,6 +73,11 @@ Then upload it:
|
|||
-d @caddy.json
|
||||
</code></pre>
|
||||
|
||||
<aside class="tip">
|
||||
Make sure you dont 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:
|
||||
|
@ -105,6 +110,8 @@ Save the config file, then update Caddy's active configuration by running the sa
|
|||
-d @caddy.json
|
||||
</code></pre>
|
||||
|
||||
|
||||
|
||||
<aside class="complete">Replace active config</aside>
|
||||
|
||||
For good measure, verify that the config was updated:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue