From 9b0f5946b9b2fc4e6e89508fbab34c028a4e42ce Mon Sep 17 00:00:00 2001 From: Rory McNicholl Date: Tue, 5 Sep 2023 19:32:07 +0100 Subject: [PATCH 1/3] remove limit on proxy_max_temp_file_size --- ops/staging-deploy.tmpl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ops/staging-deploy.tmpl.yaml b/ops/staging-deploy.tmpl.yaml index 588dcd99..7bda1022 100644 --- a/ops/staging-deploy.tmpl.yaml +++ b/ops/staging-deploy.tmpl.yaml @@ -55,6 +55,7 @@ ingress: kubernetes.io/ingress.class: "nginx", nginx.ingress.kubernetes.io/proxy-body-size: "0", cert-manager.io/cluster-issuer: letsencrypt-production-dns, + nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "0", } tls: - hosts: From 41b2f3ed3c5fb6f2ca944bb583bbb9eeec3631f1 Mon Sep 17 00:00:00 2001 From: Rory McNicholl Date: Wed, 6 Sep 2023 11:20:12 +0100 Subject: [PATCH 2/3] Set for production also, tho staging has it's own issues that make me unsure that this will help.. but sure it won't hinder --- ops/production-deploy.tmpl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ops/production-deploy.tmpl.yaml b/ops/production-deploy.tmpl.yaml index 553014fa..fcc5391a 100644 --- a/ops/production-deploy.tmpl.yaml +++ b/ops/production-deploy.tmpl.yaml @@ -55,6 +55,7 @@ ingress: kubernetes.io/ingress.class: "nginx", nginx.ingress.kubernetes.io/proxy-body-size: "0", cert-manager.io/cluster-issuer: letsencrypt-production-dns, + nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "0", } tls: - hosts: From ed1f3deb8575836fe7eb750ac696666bf8290c69 Mon Sep 17 00:00:00 2001 From: Rory McNicholl Date: Wed, 6 Sep 2023 16:17:38 +0100 Subject: [PATCH 3/3] test to see if 2G has an effect --- ops/production-deploy.tmpl.yaml | 2 +- ops/staging-deploy.tmpl.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ops/production-deploy.tmpl.yaml b/ops/production-deploy.tmpl.yaml index fcc5391a..5f20921a 100644 --- a/ops/production-deploy.tmpl.yaml +++ b/ops/production-deploy.tmpl.yaml @@ -55,7 +55,7 @@ ingress: kubernetes.io/ingress.class: "nginx", nginx.ingress.kubernetes.io/proxy-body-size: "0", cert-manager.io/cluster-issuer: letsencrypt-production-dns, - nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "0", + nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "2048m", } tls: - hosts: diff --git a/ops/staging-deploy.tmpl.yaml b/ops/staging-deploy.tmpl.yaml index 7bda1022..7bcdbee9 100644 --- a/ops/staging-deploy.tmpl.yaml +++ b/ops/staging-deploy.tmpl.yaml @@ -55,7 +55,7 @@ ingress: kubernetes.io/ingress.class: "nginx", nginx.ingress.kubernetes.io/proxy-body-size: "0", cert-manager.io/cluster-issuer: letsencrypt-production-dns, - nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "0", + nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "2048m", } tls: - hosts: