From 05474d5046d0d742eb4f89924b2fd5a76e78a3e7 Mon Sep 17 00:00:00 2001 From: ange Date: Fri, 17 May 2024 15:36:41 +0200 Subject: [PATCH] feat: MAX_UPLOAD_SIZE --- .env | 2 ++ manifests/common/app.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.env b/.env index bcb03b8..95d0545 100644 --- a/.env +++ b/.env @@ -4,3 +4,5 @@ IMAGEAPP=ghcr.io/element-hq/synapse:v1.107.0 TURN_URL=turn.test.gmoker.com IMAGECOTURN=docker.io/coturn/coturn:4.6.2 + +MAX_UPLOAD_SIZE=50M diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 2af9182..0e6d59c 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -4,6 +4,7 @@ kind: Ingress metadata: name: app annotations: + nginx.ingress.kubernetes.io/proxy-body-size: "$MAX_UPLOAD_SIZE" cert-manager.io/cluster-issuer: letsencrypt-prod spec: ingressClassName: nginx