What is the path to the global directory for binary files in MacOS?
The problem is solved. It was enough to put a binary file Caddy in the directory: /usr/local/bin

If the binary file is in the directory /usr/local/bin, Caddy available for reading for user _www