Update caddy-jail.sh
Refer to https://caddy.community/t/building-from-source-with-cloudflare-plugin-not-working/9383. This workaround may need to be reverse later.master
parent
2a2459870f
commit
0a27dfa754
|
@ -133,7 +133,7 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ -n "${DNS_PLUGIN}" ]; then
|
if [ -n "${DNS_PLUGIN}" ]; then
|
||||||
if ! iocage exec "${JAIL_NAME}" xcaddy build --output /usr/local/bin/caddy --with github.com/caddy-dns/"${DNS_PLUGIN}"
|
if ! iocage exec "${JAIL_NAME}" xcaddy build master --output /usr/local/bin/caddy --with github.com/caddy-dns/"${DNS_PLUGIN}"
|
||||||
then
|
then
|
||||||
echo "Failed to build Caddy with ${DNS_PLUGIN} plugin, terminating."
|
echo "Failed to build Caddy with ${DNS_PLUGIN} plugin, terminating."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue