Unverified Commit b5475346 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/tailscale-derper: drop unused keepalive_timeout, bump proxy_read_timeout to an hour

Otherwise derper reconnects every 60s which still works good enough but
spams the logs with lots of noise and it probably improves stability, too.
parent c347717f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -82,9 +82,10 @@ in
          locations."/" = {
            proxyPass = "http://127.0.0.1:${toString cfg.port}";
            proxyWebsockets = true;
            extraConfig = ''
              keepalive_timeout 0;
            extraConfig = # nginx
              ''
                proxy_buffering off;
                proxy_read_timeout 3600s;
              '';
          };
        };