mirror of
https://github.com/caddyserver/caddy.git
synced 2025-08-05 08:42:21 -04:00
Updated v2: Documentation (markdown)
parent
7412279d68
commit
35c57bf98b
@ -7,6 +7,7 @@ Features which are available in Caddy Enterprise are indicated with 🏢
|
||||
- [Command-line interface](#command-line-interface)
|
||||
- [start](#start)
|
||||
- [run](#run)
|
||||
- [reload](#reload)
|
||||
- [stop](#stop)
|
||||
- [version](#version)
|
||||
- [list-modules](#list-modules)
|
||||
@ -99,6 +100,15 @@ $ caddy stop
|
||||
|
||||
Stops the running Caddy process. (Note: this will stop any process named the same as the executable file.)
|
||||
|
||||
## reload
|
||||
|
||||
```
|
||||
$ caddy reload
|
||||
--config <path>
|
||||
[--address <interface>]
|
||||
```
|
||||
|
||||
Gives the running Caddy instance a new configuration. This has the same effect as POSTing a document to the [/load](#post-load) endpoint, but is convenient for simple workflows revolving around config files. Since the admin endpoint is configurable, the endpoint configuration is loaded from the `--address` flag if specified; otherwise it is loaded from the given config file; otherwise the default is assumed.
|
||||
|
||||
## version
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user