mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Update nav and other minor tweaks
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user