3
0
Fork 0
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:
Martin Weinelt 2021-04-04 23:59:04 +02:00 committed by GitHub
commit c26f97af10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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};
''} ''}