We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0cb0d36 + 2d3d6f9 commit 52606e3Copy full SHA for 52606e3
nixosModules/master.nix
@@ -888,7 +888,16 @@ in
888
services.nginx.enable = true;
889
services.nginx.virtualHosts.${cfg.domain} = {
890
locations = {
891
- "/".proxyPass = "http://127.0.0.1:${builtins.toString backendPort}/";
+ "/" = {
892
+ proxyPass = "http://127.0.0.1:${builtins.toString backendPort}/";
893
+
894
+ # Big build matrixes can generated quiet a bit of concurrent requests
895
+ extraConfig = ''
896
+ proxy_connect_timeout 120s;
897
+ proxy_send_timeout 120s;
898
+ proxy_read_timeout 120s;
899
+ '';
900
+ };
901
"/sse" = {
902
proxyPass = "http://127.0.0.1:${builtins.toString backendPort}/sse";
903
# proxy buffering will prevent sse to work
0 commit comments