h: enable navidrome and add vhost

This commit is contained in:
Aaron Bieber 2023-12-04 07:38:00 -07:00
parent d0d4daf22c
commit 62ae52cca7
No known key found for this signature in database

View File

@ -293,6 +293,14 @@ in
}; };
services = { services = {
navidrome = {
enable = true;
settings = {
Address = "127.0.0.1";
Port = 4533;
MusicFolder = "/var/lib/music";
};
};
shiori = { shiori = {
enable = true; enable = true;
port = 8967; port = 8967;
@ -544,6 +552,19 @@ in
''; '';
}; };
"music.tapenet.org" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://${config.services.navidrome.settings.Address}:${toString config.services.navidrome.settings.Port}";
proxyWebsockets = true;
priority = 1000;
};
};
};
"git.tapenet.org" = { "git.tapenet.org" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;