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

@ -229,6 +229,7 @@ in
wantedBy = [ "docker-compose-tubearchivist-root.target" ];
};
systemd.services."docker-volume-tubearchivist_es" = {
path = [ pkgs.docker ];
@ -284,5 +285,11 @@ in
wantedBy = [ "multi-user.target" ];
};
services.nginx = {
enable = true;
virtualHosts."tubearchivist.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
};
};
}