caddy-retired/build
David Kebler 87d4316e62 moved all scripts to scripts directory and refactored accordingly
somewhat working example site with conf file
2020-10-27 10:09:20 -07:00
..
builds.txt moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
plugins.txt moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
readme.md new install script for github releases 2020-10-26 10:11:41 -07:00

readme.md

Build A Caddy Binary

Setup go and go get

Update xcaddy

run update-xcaddy script

xcaddy is used to build a caddy binary for a particular architecture and with particular plugins.

Edit the build script add/remove plugins to be including with the build.

those will be the --with lines commented lines will ignore that plugin. All plugins will be collected from some url

   --with github.com/iamd3vil/caddy_yaml_adapter \
   --with github.com/caddy-dns/route53 # for route53 dns chanlled

so simply ./build will build the amd64 version. use ./build arm64 for arm64 build

when sucessfully deploy the binary to the caddy deployment repo with ./deploy <arch> then in the caddy deployment repo commit that change and push. Then pull on installations for which the new binary is desired.