diff --git a/modules/git.nix b/modules/git.nix index 1688d03..079a2e3 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -51,6 +51,12 @@ in forceSSL = true; enableACME = true; - locations."/".proxyPass = "http://127.0.0.1:5555"; + locations."/" = { + proxyPass = "http://127.0.0.1:5555"; + extraConfig = '' + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + ''; + }; }; }