Refactor local Nginx virtual hosts and update

...local hostnames
This commit is contained in:
Oliver Davies 2024-12-15 23:13:11 +00:00
parent 8e599c2ffd
commit db4cfbc518
7 changed files with 49 additions and 18 deletions

View file

@ -18,5 +18,11 @@ with lib;
};
environment.systemPackages = [ pkgs.immich-cli ];
services.nginx = {
enable = true;
virtualHosts."immich.davies.home".locations."/".proxyPass = "http://localhost:${toString config.services.immich.port}/";
};
};
}