Update homelab service URLs

This commit is contained in:
Oliver Davies 2024-12-26 21:35:05 +00:00
parent 22473ca2ab
commit b04abfd33b
7 changed files with 12 additions and 13 deletions

View file

@ -12,14 +12,14 @@ in
services.audiobookshelf = {
enable = true;
host = "audiobookshelf.davies.home";
host = "audiobookshelf.oliverdavies.uk";
port = 4001;
};
services.nginx = {
enable = true;
virtualHosts."audiobookshelf.davies.home" = {
virtualHosts."audiobookshelf.oliverdavies.uk" = {
locations."/" = {
proxyPass = "http://localhost:${toString config.services.audiobookshelf.port}/";
proxyWebsockets = true;

View file

@ -29,7 +29,8 @@ in
nginx = {
enable = true;
virtualHosts."forgejo.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
virtualHosts."forgejo.oliverdavies.uk".locations."/".proxyPass =
"http://localhost:${toString port}/";
};
};
};

View file

@ -9,11 +9,7 @@ in
services.nginx = {
enable = true;
virtualHosts."freshrss.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
};
# TODO: move to pihole.
networking.hosts = {
"127.0.0.1" = [ "freshrss.davies.home" ];
virtualHosts."freshrss.oliverdavies.uk".locations."/".proxyPass =
"http://localhost:${toString port}/";
};
}

View file

@ -29,7 +29,7 @@ in
nginx = {
enable = true;
virtualHosts."gitea.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
virtualHosts."gitea.oliverdavies.uk".locations."/".proxyPass = "http://localhost:${toString port}/";
};
};
};

View file

@ -22,7 +22,8 @@ with lib;
services.nginx = {
enable = true;
virtualHosts."immich.davies.home".locations."/".proxyPass = "http://localhost:${toString config.services.immich.port}/";
virtualHosts."immich.oliverdavies.uk".locations."/".proxyPass =
"http://localhost:${toString config.services.immich.port}/";
};
};
}

View file

@ -16,7 +16,7 @@ with lib;
services.nginx = {
enable = true;
virtualHosts."jellyfin.davies.home".locations."/".proxyPass = "http://localhost:8096/";
virtualHosts."jellyfin.oliverdavies.uk".locations."/".proxyPass = "http://localhost:8096/";
};
};
}

View file

@ -289,7 +289,8 @@ in
services.nginx = {
enable = true;
virtualHosts."tubearchivist.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
virtualHosts."tubearchivist.oliverdavies.uk".locations."/".proxyPass =
"http://localhost:${toString port}/";
};
};
}