I’m downloading caddy with http.awslambda plugin
I ran
curl https://getcaddy.com | bash -s personal http.awslambda
and the output:
# curl https://getcaddy.com | bash -s personal http.awslambda 19-09-25 - 17:21:38
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7380 100 7380 0 0 7838 0 --:--:-- --:--:-- --:--:-- 7834
Downloading Caddy for linux/amd64 (personal license)...
curl: (22) The requested URL returned error: 500 Internal Server Error
Aborted, error 22 in command: curl -fsSL "$caddy_url" -u "$CADDY_ACCOUNT_ID:$CADDY_API_KEY" -o "$dl"
I found it was actually requesting :
curl -fsSL 'https://caddyserver.com/download/linux/amd64?license=personal&plugins=http.awslambda&access_codes=&telemetry=' -u : -o /tmp/caddy_linux_amd64_custom.tar.gz
and the http response is:
provisioning build environment: go mod init: exit status 1
with status code 500
it seems server encountered some error.
could anybody help me ?