Add secure Node image webhook service

This commit is contained in:
2026-08-06 11:21:54 +00:00
parent 24073326b3
commit f04b81c606
22 changed files with 1116 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
if [ -z "${CADDY_SOURCE_CIDR:-}" ]; then
echo "CADDY_SOURCE_CIDR is required" >&2
exit 1
fi
envsubst '${CADDY_SOURCE_CIDR}' \
< /etc/image/default.conf.template \
> /tmp/nginx.conf
exec nginx -c /tmp/nginx.conf -g 'daemon off;'