From 5b99e94809723c7e77d2b9e853f0c06ef116081c Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 20 Apr 2023 17:40:58 -0500 Subject: [PATCH] scanservjs: ingress: Increase proxy read timeout *scanserv-js* blocks the HTTP request while waiting for a scan to complete. For large, multi-page documents, the scan can take several minutes. To prevent the request from timing out and interrupting the scan, we need to increase the proxy timeout configuration. --- scanservjs/ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scanservjs/ingress.yaml b/scanservjs/ingress.yaml index 351d9e7..6c43cc2 100644 --- a/scanservjs/ingress.yaml +++ b/scanservjs/ingress.yaml @@ -9,6 +9,7 @@ metadata: app.kubernetes.io/part-of: scanservjs annotations: nginx.ingress.kubernetes.io/proxy-body-size: '0' + nginx.ingress.kubernetes.io/proxy-read-timeout: '300' nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-url: http://authelia.authelia.svc.cluster.local:9091/api/verify nginx.ingress.kubernetes.io/auth-signin: https://auth.pyrocufflink.blue/?rm=$request_method