Hello,
Running into the same issue while rebuiling my docker
-based Caddy install,
The snippet of my Dockerfile
is
#Install Caddy Server, and All Middleware
RUN curl "https://caddyserver.com/download/linux/amd64?plugins=dns,hook.pluginloader,hook.service,http.authz,http.awslambda,http.cgi,http.cors,http.datadog,http.expires,http.filemanager,http.filter,http.git,http.hugo,http.ipfilter,http.jwt,http.login,http.mailout,http.minify,http.prometheus,http.proxyprotocol,http.ratelimit,http.realip,http.upload,net,tls.dns.cloudflare,tls.dns.digitalocean,tls.dns.dnsimple,tls.dns.dnspod,tls.dns.dyn,tls.dns.exoscale,tls.dns.gandi,tls.dns.googlecloud,tls.dns.linode,tls.dns.namecheap,tls.dns.ovh,tls.dns.rackspace,tls.dns.rfc2136,tls.dns.route53,tls.dns.vultr" \ | tar --no-same-owner -C /usr/bin/ -xz caddy
Since that URL is from an image created some weeks ago, I suspected the plugin list was the culprit, but trying a wget https://caddyserver.com/download/...
using the latest command generated on the download page ends with
Resolving caddyserver.com... 138.68.240.78, 2604:a880:2:d0::1145:e001 Connecting to caddyserver.com|138.68.240.78|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2017-07-13 13:55:00 ERROR 500: Internal Server Error.