nixos/gitlab: add proxyWebsockets as recommended nginx setting (#431884)

This commit is contained in:
xanderio
2025-09-29 09:02:01 +00:00
committed by GitHub
+4 -1
View File
@@ -21,7 +21,10 @@ frontend proxy:
virtualHosts."git.example.com" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket";
locations."/" = {
proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket";
proxyWebsockets = true;
};
};
};
}