diff --git a/apps/infra/net/nginx/helmchart.yaml b/apps/infra/net/nginx/helmchart.yaml index e7b2839..2fa0398 100644 --- a/apps/infra/net/nginx/helmchart.yaml +++ b/apps/infra/net/nginx/helmchart.yaml @@ -50,6 +50,7 @@ spec: location-snippet: | # 限速配置 limit_req zone=global_limit burst=30 nodelay; + limit_req_status 429; # 启用geoip2模块 use-geoip: "false" use-geoip2: "true" @@ -154,7 +155,7 @@ spec: image: registry: docker.io image: devcm/default-backend - tag: latest + tag: v0.1.0 # 和controller部署同一节点 nodeSelector: svccontroller.k3s.cattle.io/enablelb: "true"