From a9e26a51a81cae6e18ce90ee0cac72cc016903df Mon Sep 17 00:00:00 2001 From: bgme Date: Fri, 2 Feb 2024 04:49:23 +0800 Subject: [PATCH] update caddy --- repo/caddy-bgme-git/lilac.yaml | 3 ++- repo/caddy-bgme-git/main.go | 25 +++++++++++++++++++++---- repo/caddy-bgme/lilac.yaml | 2 ++ repo/caddy-bgme/main.go | 25 +++++++++++++++++++++---- 4 files changed, 46 insertions(+), 9 deletions(-) diff --git a/repo/caddy-bgme-git/lilac.yaml b/repo/caddy-bgme-git/lilac.yaml index a11c065..14294d4 100644 --- a/repo/caddy-bgme-git/lilac.yaml +++ b/repo/caddy-bgme-git/lilac.yaml @@ -11,4 +11,5 @@ post_build: git_pkgbuild_commit update_on: - source: github github: caddyserver/caddy - - source: vcs + - source: manual + manual: 1 \ No newline at end of file diff --git a/repo/caddy-bgme-git/main.go b/repo/caddy-bgme-git/main.go index e292110..cfba93a 100644 --- a/repo/caddy-bgme-git/main.go +++ b/repo/caddy-bgme-git/main.go @@ -41,6 +41,8 @@ import ( _ "github.com/fvbommel/caddy-combine-ip-ranges" _ "github.com/fvbommel/caddy-dns-ip-range" _ "github.com/WeidiDeng/caddy-cloudflare-ip" + _ "github.com/xcaddyplugins/caddy-trusted-cloudfront" + _ "github.com/digilolnet/caddy-bunny-ip" // WAF _ "github.com/corazawaf/coraza-caddy" @@ -52,12 +54,27 @@ import ( // dns.providers _ "github.com/caddy-dns/cloudflare" - // other - _ "github.com/mholt/caddy-ratelimit" - _ "github.com/caddyserver/replace-response" + // encoders + _ "github.com/dunglas/caddy-cbrotli" + + // storage _ "github.com/silinternational/certmagic-storage-dynamodb/v3" - _ "github.com/abiosoft/caddy-json-schema" + - "github.com/mohammed90/caddy-encrypted-storage" + + // geoip _ "github.com/zhangjiayin/caddy-geoip2" + + // ratelimit + _ "github.com/mholt/caddy-ratelimit" + + // response handler + _ "github.com/caddyserver/replace-response" + + // webdav + _ "github.com/mholt/caddy-webdav" + + // cli + _ "github.com/abiosoft/caddy-json-schema" ) func main() { diff --git a/repo/caddy-bgme/lilac.yaml b/repo/caddy-bgme/lilac.yaml index cb961b9..c33cd02 100644 --- a/repo/caddy-bgme/lilac.yaml +++ b/repo/caddy-bgme/lilac.yaml @@ -10,3 +10,5 @@ update_on: - source: github github: caddyserver/caddy use_latest_release: true + - source: manual + manual: 1 \ No newline at end of file diff --git a/repo/caddy-bgme/main.go b/repo/caddy-bgme/main.go index e292110..cfba93a 100644 --- a/repo/caddy-bgme/main.go +++ b/repo/caddy-bgme/main.go @@ -41,6 +41,8 @@ import ( _ "github.com/fvbommel/caddy-combine-ip-ranges" _ "github.com/fvbommel/caddy-dns-ip-range" _ "github.com/WeidiDeng/caddy-cloudflare-ip" + _ "github.com/xcaddyplugins/caddy-trusted-cloudfront" + _ "github.com/digilolnet/caddy-bunny-ip" // WAF _ "github.com/corazawaf/coraza-caddy" @@ -52,12 +54,27 @@ import ( // dns.providers _ "github.com/caddy-dns/cloudflare" - // other - _ "github.com/mholt/caddy-ratelimit" - _ "github.com/caddyserver/replace-response" + // encoders + _ "github.com/dunglas/caddy-cbrotli" + + // storage _ "github.com/silinternational/certmagic-storage-dynamodb/v3" - _ "github.com/abiosoft/caddy-json-schema" + - "github.com/mohammed90/caddy-encrypted-storage" + + // geoip _ "github.com/zhangjiayin/caddy-geoip2" + + // ratelimit + _ "github.com/mholt/caddy-ratelimit" + + // response handler + _ "github.com/caddyserver/replace-response" + + // webdav + _ "github.com/mholt/caddy-webdav" + + // cli + _ "github.com/abiosoft/caddy-json-schema" ) func main() {