1Caddy(8) Caddy(8)
2
3
4
6 caddy-validate - Tests whether a configuration file is valid
7
8
9
11 caddy validate [flags]
12
13
14
16 Loads and provisions the provided config, but does not start running
17 it. This reveals any errors with the configuration through the loading
18 and provisioning stages.
19
20
21 If --envfile is specified, an environment file with environment vari‐
22 ables in the KEY=VALUE format will be loaded into the Caddy process.
23
24
25
27 -a, --adapter="" Name of config adapter
28
29
30 -c, --config="" Input configuration file
31
32
33 --envfile=[] Environment file(s) to load
34
35
36 -h, --help[=false] help for validate
37
38
39
41 caddy(8)
42
43
44
46 30-Oct-2023 Auto generated by spf13/cobra
47
48
49
50Auto generated by spf13/cobra Oct 2023 Caddy(8)