Skip to content

Commit f60bdea

Browse files
committed
fix nix-outputs path nginx configuration
1 parent 685491f commit f60bdea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/master.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ in
485485
type = lib.types.nullOr lib.types.path;
486486
description = "Path where we store the latest build store paths names for nix attributes as text files. This path will be exposed via nginx at \${domain}/nix-outputs";
487487
default = null;
488-
example = "/var/www/buildbot/nix-outputs";
488+
example = "/var/www/buildbot/nix-outputs/";
489489
};
490490

491491
jobReportLimit = lib.mkOption {
@@ -774,7 +774,7 @@ in
774774
# raise the proxy timeout for the websocket
775775
extraConfig = "proxy_read_timeout 6000s;";
776776
};
777-
} // lib.optionalAttrs (cfg.outputsPath != null) { "/nix-outputs".root = cfg.outputsPath; };
777+
} // lib.optionalAttrs (cfg.outputsPath != null) { "/nix-outputs/".alias = cfg.outputsPath; };
778778
};
779779

780780
systemd.tmpfiles.rules =

0 commit comments

Comments
 (0)