Skip to content

Commit

Permalink
Update Readme#Caddy CLI to use double-hyphen
Browse files Browse the repository at this point in the history
Caddy 2.6.0 does not support single-hyphen long options
caddyserver/caddy#4565
  • Loading branch information
Majr25 committed Sep 30, 2022
1 parent be9c95d commit f6b0ca9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,29 +481,29 @@ Run `caddy help docker-proxy` to see all available flags.

```
Usage of docker-proxy:
-caddyfile-path string
--caddyfile-path string
Path to a base Caddyfile that will be extended with Docker sites
-controller-network string
--controller-network string
Network allowed to configure Caddy server in CIDR notation. Ex: 10.200.200.0/24
-ingress-networks string
--ingress-networks string
Comma separated name of ingress networks connecting Caddy servers to containers.
When not defined, networks attached to controller container are considered ingress networks
-docker-sockets
--docker-sockets
Comma separated docker sockets
When not defined, DOCKER_HOST (or default docker socket if DOCKER_HOST not defined)
-docker-certs-path
--docker-certs-path
Comma separated cert path, you could use empty value when no cert path for the concern index docker socket like cert_path0,,cert_path2
-docker-apis-version
--docker-apis-version
Comma separated apis version, you could use empty value when no api version for the concern index docker socket like cert_path0,,cert_path2
-label-prefix string
--label-prefix string
Prefix for Docker labels (default "caddy")
-mode
--mode
Which mode this instance should run: standalone | controller | server
-polling-interval duration
--polling-interval duration
Interval Caddy should manually check Docker for a new Caddyfile (default 30s)
-process-caddyfile
--process-caddyfile
Process Caddyfile before loading it, removing invalid servers (default true)
-proxy-service-tasks
--proxy-service-tasks
Proxy to service tasks instead of service load balancer (default true)
```

Expand Down

0 comments on commit f6b0ca9

Please sign in to comment.