fix(nginx): remove default

This commit is contained in:
sinavir 2024-07-21 04:13:55 +02:00
parent ca91cdb33b
commit 40846d3b16

View file

@ -21,7 +21,6 @@
enable = true; enable = true;
recommendedProxySettings = true; recommendedProxySettings = true;
virtualHosts.${config.services.tvix-binary-cache.nginx.host} = { virtualHosts.${config.services.tvix-binary-cache.nginx.host} = {
default = true;
locations = lib.mkMerge ( locations = lib.mkMerge (
lib.mapAttrsToList (name: cfg: { lib.mapAttrsToList (name: cfg: {
"/${name}".return = "302 /${name}/"; "/${name}".return = "302 /${name}/";