Files
uncloud/website/docs/9-cli-reference/uc_caddy_config.md
T

34 lines
1.1 KiB
Markdown

# uc caddy config
Show the current Caddy configuration (Caddyfile).
## Synopsis
Display the current Caddy configuration (Caddyfile) from the connected machine or a specified one.
```
uc caddy config [flags]
```
## Options
```
-h, --help help for config
-m, --machine string Name or ID of the machine to get the configuration from. (default is connected machine)
--no-color Disable syntax highlighting for the output.
```
## Options inherited from parent commands
```
--connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT]
Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port
-c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT]
--uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml")
```
## See also
* [uc caddy](uc_caddy.md) - Manage Caddy reverse proxy service.