forked from mirrors/nixpkgs
Merge pull request #118443 from SuperSandro2000/SuperSandro2000-patch-2
nixos/nginx: set "recommended" proxy timeouts to 60s
This commit is contained in:
commit
c26f97af10
|
@ -154,9 +154,9 @@ let
|
||||||
|
|
||||||
${optionalString (cfg.recommendedProxySettings) ''
|
${optionalString (cfg.recommendedProxySettings) ''
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_connect_timeout 90;
|
proxy_connect_timeout 60;
|
||||||
proxy_send_timeout 90;
|
proxy_send_timeout 60;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 60;
|
||||||
proxy_http_version 1.0;
|
proxy_http_version 1.0;
|
||||||
include ${recommendedProxyConfig};
|
include ${recommendedProxyConfig};
|
||||||
''}
|
''}
|
||||||
|
|
Loading…
Reference in a new issue