Download link generation

Could it be an option to have the site generate a download link instead of automatically initiating the download on the machine that’s running the webbrowser?

Quite often the machine I want to run caddy on is headless so is different to the machine I’ve selected the install options/generated the package from and I find myself digging the download URL out of the browsers download section so I can then wget it on the actual machine I wanted caddy on

I actually use the following shell command in my Dockerfile;

RUN apk add --virtual deps curl tar \
    && curl -o caddy.bz "https://caddyserver.com/download/build?os=linux&arch=amd64&features=minify,expires,namecheap" \
    && tar -zxvf caddy.bz caddy \
    && mv caddy /etc/caddy/
1 Like

Just right-click and copy the URL instead of left-clicking. :wink:

The new site will show a URL for convenience, though.

1 Like