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
nix/hosts/lemp11/modules

View file

@ -1,13 +1,11 @@
{ config, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"gitea.localhost".locations."/".proxyPass = "http://localhost:2222/";
"immich.localhost".locations."/".proxyPass = "http://localhost:2283/";
"jellyfin.localhost".locations."/".proxyPass = "http://localhost:8096/";
"syncthing.localhost".locations."/".proxyPass = "http://localhost:8384/";
"tubearchivist.localhost".locations."/".proxyPass = "http://localhost:8000/";
};
};
}