mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-16 13:12:08 +00:00
FileServer.Provision hides the data directory when it is relative (#8327), because a relative data directory sits under the working directory and holds private keys. The config directory falls back to the same relative "./caddy" when no config home can be resolved, and it holds autosave.json, which is the loaded configuration. The two directories are resolved independently, so an absolute data directory did not cover a relative config directory: with XDG_DATA_HOME set and no HOME or XDG_CONFIG_HOME, the data directory is absolute while the config directory is "./caddy" under the served root. Both directories are now hidden through the existing fallback, each entry added only once. Refs #8381 |
||
|---|---|---|
| .. | ||
| caddyevents | ||
| caddyfs | ||
| caddyhttp | ||
| caddypki | ||
| caddytls | ||
| filestorage | ||
| internal/network | ||
| logging | ||
| metrics | ||
| standard | ||