说明 懂的自然懂,直接上文档。 Caddy 编译安装 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 wget https://go.dev/dl/go1.19.linux-arm64.tar.gz tar -zxvf go1.19.linux-arm64.tar.gz -C /usr/local/ cat >> /etc/profile << EOF GO_HOME=/usr/local/go export PATH=\$PATH:\$GO_HOME/bin/:/root/go/bin EOF source /etc/profile go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest xcaddy build --with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive mv caddy /usr/local/bin/caddy mkdir /etc/caddy