From ef8579f549ae5ce3ed3ced6cf2c97899ba99c427 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Fri, 8 Nov 2024 09:39:01 +0000 Subject: [PATCH] Remove special gitea rl --- config/haproxy/APKBUILD | 4 ++-- config/haproxy/main.cfg | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/config/haproxy/APKBUILD b/config/haproxy/APKBUILD index 1acfded..7ca8f32 100644 --- a/config/haproxy/APKBUILD +++ b/config/haproxy/APKBUILD @@ -3,7 +3,7 @@ . ../APKBUILD-config.template -pkgrel=5 +pkgrel=6 depends="redxen-secret-letsencrypt-full redxen-data-haproxy-errorpages" checkdepends="haproxy" source="main.cfg" @@ -14,5 +14,5 @@ check() { } sha512sums=" -a105b4f1ddb9bc6dd0352a30f2e953093cf5ab412fe5888fa30cc8ab8d0d7e1bed59b8d2d6740f294156087cdce5b5b017b1b4d6eda6e28646bb591fc1d28d08 main.cfg +5c4c950dd3200afee22a5291376df67a2d5501d42700ffa570987c3dade8a44729eb63568f52da08e01d31e657f3a67f0f35b9402e2fe7582131e83e3a1500f8 main.cfg " diff --git a/config/haproxy/main.cfg b/config/haproxy/main.cfg index a4ed325..7c0c050 100644 --- a/config/haproxy/main.cfg +++ b/config/haproxy/main.cfg @@ -98,9 +98,6 @@ frontend http acl packs hdr_beg(host) -i packages.redxen acl cal hdr_beg(host) -i cal.redxen - # Heavily rate-limit HTTP git - http-request deny deny_status 429 if git { sc_http_req_rate(0) gt 30 } - # Rate-limit anything too heavy http-request deny deny_status 429 if { sc_http_req_rate(0) gt 900 }