From 7535acf820cd63a92184d30cbdee42647766cec8 Mon Sep 17 00:00:00 2001 From: DOMjudge team Date: Sun, 14 Apr 2024 14:57:56 +0200 Subject: [PATCH] Adds read/send timeouts for fpm --- .../ansible/roles/domserver/templates/nginx-domjudge-inner.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2 b/provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2 index 8e14601c..ada77723 100644 --- a/provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2 +++ b/provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2 @@ -27,6 +27,9 @@ location @domjudgeFront { fastcgi_pass domjudge; include fastcgi_params; fastcgi_param SERVER_NAME $host; + fastcgi_read_timeout 600; + fastcgi_send_timeout 600; + fastcgi_param SCRIPT_FILENAME $domjudgeRoot/index.php; fastcgi_param SCRIPT_NAME $prefix/index.php; fastcgi_param REQUEST_URI $prefix$uri?$args;