From 7ede509973325b3957cdfbd30e2201db045342a0 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 3 Nov 2023 17:13:11 +0000 Subject: [PATCH] nginx: reduce cost of spurious connectivity loss; default value of fail_timeout (10sec) makes server unavailable for that amount of time, even if the server is just down for a quick restart --- contrib/nginx/copyparty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nginx/copyparty.conf b/contrib/nginx/copyparty.conf index 8494ca3f..0fc43ab7 100644 --- a/contrib/nginx/copyparty.conf +++ b/contrib/nginx/copyparty.conf @@ -13,7 +13,7 @@ # on fedora/rhel, remember to setsebool -P httpd_can_network_connect 1 upstream cpp { - server 127.0.0.1:3923; + server 127.0.0.1:3923 fail_timeout=1s; keepalive 1; } server {