Update nav and other minor tweaks

Matt Holt 2019-11-15 15:57:51 -07:00
parent c810af65d4
commit c7c840a664

@ -19,7 +19,6 @@ This page describes how to use Caddy 2, which is a work-in-progress on the [v2 b
- [reverse-proxy](#reverse-proxy)
- [Admin endpoint](#admin-endpoint)
- [POST /load](#post-load)
- [POST /unload](#post-unload)
- [POST /stop](#post-stop)
- [GET /config/[scope]](#get-configscope)
- [POST /config/[scope]](#post-configscope)
@ -387,7 +386,15 @@ $ curl -X PUT \
Changes Caddy's configuration at the named scope to the JSON body of the request. DELETE deletes the value at the named scope.
### Example
### Examples
To unload the entire current configuration:
```bash
$ curl -X DELETE "http://localhost:2019/config/"
```
To stop only one of your HTTP servers:
```bash
$ curl -X DELETE "http://localhost:2019/config/apps/http/servers/myserver"