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