services.vikunja: fix

This commit is contained in:
2024-06-13 17:48:30 +08:00
parent 0cb7791b84
commit b9175a211f

View File

@@ -38,7 +38,11 @@ inputs:
nixos.services =
{
postgresql.instances.vikunja = {};
nginx = { enable = true; https.${vikunja.hostname}.global.configName = vikunja.hostname; };
nginx =
{
enable = true;
https.${vikunja.hostname}.location."/".proxy.upstream = "http://127.0.0.1:${builtins.toString vikunja.port}";
};
};
};
}