summaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-12-31 18:31:43 -0700
committerMatthew Holt <[email protected]>2019-12-31 18:31:43 -0700
commit06ea0a52950ef6d1dd327c10e247ada1b71a5c5d (patch)
tree0c369a5410adb561c88dd3df7e1f921addda041e /caddy.go
parent788462bd4c9c332b3f892094b1d17147378f5e6a (diff)
downloadcaddy-06ea0a52950ef6d1dd327c10e247ada1b71a5c5d.tar.gz
caddy-06ea0a52950ef6d1dd327c10e247ada1b71a5c5d.zip
Tune AppConfigDir and docs for Storage module
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/caddy.go b/caddy.go
index fefe50b22..ab7c01483 100644
--- a/caddy.go
+++ b/caddy.go
@@ -61,11 +61,10 @@ type Config struct {
Logging *Logging `json:"logging,omitempty"`
// StorageRaw is a storage module that defines how/where Caddy
- // stores assets (such as TLS certificates). By default, this is
- // the local file system (`caddy.storage.file_system` module).
- // If the `XDG_DATA_HOME` environment variable is set, then
- // `$XDG_DATA_HOME/caddy` is the default folder. Otherwise,
- // `$HOME/.local/share/caddy` is the default folder.
+ // stores assets (such as TLS certificates). The default storage
+ // module is `caddy.storage.file_system` (the local file system),
+ // and the default path
+ // [depends on the OS and environment](/docs/conventions#data-directory).
StorageRaw json.RawMessage `json:"storage,omitempty" caddy:"namespace=caddy.storage inline_key=module"`
// AppsRaw are the apps that Caddy will load and run. The