Give a tip about not forgetting @ in curl command.

This commit is contained in:
Toby Allen 2020-04-05 16:20:44 +01:00 committed by GitHub
parent eae81aed75
commit 73897fafd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,11 @@ Then upload it:
-d @caddy.json -d @caddy.json
</code></pre> </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> <aside class="complete">Give Caddy a config</aside>
We can verify that Caddy applied our new config with another GET request: 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 -d @caddy.json
</code></pre> </code></pre>
<aside class="complete">Replace active config</aside> <aside class="complete">Replace active config</aside>
For good measure, verify that the config was updated: For good measure, verify that the config was updated: