I’m stuck. On Install Step 2. caddy version
results in -bash: /usr/local/bin/caddy: Permission denied
. The directory is in my $PATH and the result is the same when caddy is placed in /usr/bin
. Pretty sure I’m missing a step between downloading caddy2_beta20_linux_amd64
and Step 2 but I’m not sure where to look / what to look for. Any guidance is much appreciated!
What I’ve done: Guessed. Downloaded caddy2_beta20, renamed it to caddy
, placed it in my $PATH. Searched for answers / clues. Turned to you.
Another question: I got Caddy2 running with Docker but am unclear about how one would use the Caddy API with a containerized Caddy. Being able to use the Caddy API is the reason for the first question and my attempt to use Caddy “uncontainered.”
Thanks again