From 31d948cd5bfa48f736dc967823d7af91ab6ff1b4 Mon Sep 17 00:00:00 2001 From: bgme Date: Fri, 9 Jun 2023 20:45:14 +0800 Subject: [PATCH] add github.com/sillygod/cdp-cache add github.com/caddy-dns/cloudflare --- repo/caddy-bgme-git/PKGBUILD | 4 ++-- repo/caddy-bgme-git/main.go | 22 +++++++++++++++++----- repo/caddy-bgme/PKGBUILD | 4 ++-- repo/caddy-bgme/main.go | 22 +++++++++++++++++----- 4 files changed, 38 insertions(+), 14 deletions(-) diff --git a/repo/caddy-bgme-git/PKGBUILD b/repo/caddy-bgme-git/PKGBUILD index 7e98254..e7f1753 100644 --- a/repo/caddy-bgme-git/PKGBUILD +++ b/repo/caddy-bgme-git/PKGBUILD @@ -10,7 +10,7 @@ pkgname=caddy-bgme-git _pkgname=caddy pkgver=2.7.0beta.1.r18.g56af1ceb -pkgrel=5 +pkgrel=6 pkgdesc='Fast web server with automatic HTTPS' url='https://caddyserver.com' arch=('x86_64') @@ -33,7 +33,7 @@ sha512sums=( 'SKIP' 'SKIP' 'SKIP' - '68318cd5532c500b96717c257624d902765053b82c55790e974d8ac9d1127e20340ded49a4f0daf9b7ff92e5a3e15427054f2ae0ecdbfd114e296ec02d1edd4d' + '2dfa570884b3061f5c4e327d4f8d7bc6483822eaff95a480f8e301c2a9f0fdfb987b9d7b91b26e5389489d8862405fdc01cf6c7dd02910643911b16409410148' 'c893d88fec89e37da6596030c8dce7103e7e575371e8542a24d2a0741e877358d85219f2d8ade9d6aa0f515efe1156a4badd9fef5f65f553a5b0c72330c4728f' '55ee8d3f8b14f9adddc7a1026addcea4f85b4bae4cd512fd4da2a5e8adaae4b6fd0f486d2e3847f75518f4710a897b4fca84e48ee15700b968bad762125c4742' '716da3f4edeb3561243aeaf5c32b01ff7a4ac810b6deba8364fb12a1f71b6a5278c34a97b289bcfdc48784679b942bf780f1f36d416a575791168c94b0d59fe0' diff --git a/repo/caddy-bgme-git/main.go b/repo/caddy-bgme-git/main.go index 1b20d10..e292110 100644 --- a/repo/caddy-bgme-git/main.go +++ b/repo/caddy-bgme-git/main.go @@ -34,18 +34,30 @@ import ( // plug in Caddy modules here _ "github.com/caddyserver/caddy/v2/modules/standard" + // naive proxy _ "github.com/caddyserver/forwardproxy" + + // ip range + _ "github.com/fvbommel/caddy-combine-ip-ranges" + _ "github.com/fvbommel/caddy-dns-ip-range" + _ "github.com/WeidiDeng/caddy-cloudflare-ip" + + // WAF + _ "github.com/corazawaf/coraza-caddy" + // cache + _ "github.com/caddyserver/cache-handler" + _ "github.com/sillygod/cdp-cache" + + // dns.providers + _ "github.com/caddy-dns/cloudflare" + + // other _ "github.com/mholt/caddy-ratelimit" _ "github.com/caddyserver/replace-response" _ "github.com/silinternational/certmagic-storage-dynamodb/v3" _ "github.com/abiosoft/caddy-json-schema" - _ "github.com/fvbommel/caddy-combine-ip-ranges" - _ "github.com/fvbommel/caddy-dns-ip-range" - _ "github.com/WeidiDeng/caddy-cloudflare-ip" _ "github.com/zhangjiayin/caddy-geoip2" - _ "github.com/corazawaf/coraza-caddy" - _ "github.com/caddyserver/cache-handler" ) func main() { diff --git a/repo/caddy-bgme/PKGBUILD b/repo/caddy-bgme/PKGBUILD index b1fce3c..f074d46 100644 --- a/repo/caddy-bgme/PKGBUILD +++ b/repo/caddy-bgme/PKGBUILD @@ -12,7 +12,7 @@ _pkgname=caddy pkgver=2.7.0.beta.1 _gitcommit=v2.7.0-beta.1 _distcommit=5ded5351fc9f6f35286e38c4552fc2d8b37f4df3 -pkgrel=9 +pkgrel=10 pkgdesc='Fast web server with automatic HTTPS' url='https://caddyserver.com' arch=('x86_64') @@ -35,7 +35,7 @@ sha512sums=( 'SKIP' 'SKIP' 'SKIP' - '68318cd5532c500b96717c257624d902765053b82c55790e974d8ac9d1127e20340ded49a4f0daf9b7ff92e5a3e15427054f2ae0ecdbfd114e296ec02d1edd4d' + '2dfa570884b3061f5c4e327d4f8d7bc6483822eaff95a480f8e301c2a9f0fdfb987b9d7b91b26e5389489d8862405fdc01cf6c7dd02910643911b16409410148' 'c893d88fec89e37da6596030c8dce7103e7e575371e8542a24d2a0741e877358d85219f2d8ade9d6aa0f515efe1156a4badd9fef5f65f553a5b0c72330c4728f' '55ee8d3f8b14f9adddc7a1026addcea4f85b4bae4cd512fd4da2a5e8adaae4b6fd0f486d2e3847f75518f4710a897b4fca84e48ee15700b968bad762125c4742' '716da3f4edeb3561243aeaf5c32b01ff7a4ac810b6deba8364fb12a1f71b6a5278c34a97b289bcfdc48784679b942bf780f1f36d416a575791168c94b0d59fe0' diff --git a/repo/caddy-bgme/main.go b/repo/caddy-bgme/main.go index 1b20d10..e292110 100644 --- a/repo/caddy-bgme/main.go +++ b/repo/caddy-bgme/main.go @@ -34,18 +34,30 @@ import ( // plug in Caddy modules here _ "github.com/caddyserver/caddy/v2/modules/standard" + // naive proxy _ "github.com/caddyserver/forwardproxy" + + // ip range + _ "github.com/fvbommel/caddy-combine-ip-ranges" + _ "github.com/fvbommel/caddy-dns-ip-range" + _ "github.com/WeidiDeng/caddy-cloudflare-ip" + + // WAF + _ "github.com/corazawaf/coraza-caddy" + // cache + _ "github.com/caddyserver/cache-handler" + _ "github.com/sillygod/cdp-cache" + + // dns.providers + _ "github.com/caddy-dns/cloudflare" + + // other _ "github.com/mholt/caddy-ratelimit" _ "github.com/caddyserver/replace-response" _ "github.com/silinternational/certmagic-storage-dynamodb/v3" _ "github.com/abiosoft/caddy-json-schema" - _ "github.com/fvbommel/caddy-combine-ip-ranges" - _ "github.com/fvbommel/caddy-dns-ip-range" - _ "github.com/WeidiDeng/caddy-cloudflare-ip" _ "github.com/zhangjiayin/caddy-geoip2" - _ "github.com/corazawaf/coraza-caddy" - _ "github.com/caddyserver/cache-handler" ) func main() {