fix pocket-id nginxvhost

This commit is contained in:
William 2026-04-22 19:28:16 -03:00
parent 480605b47b
commit f6ededefca

View file

@ -5,6 +5,10 @@
... ...
}: }:
let
mkNginxVHosts = inputs.self.lib.mkNginxVHosts;
in
{ {
services.pocket-id = { services.pocket-id = {
enable = true; enable = true;
@ -16,6 +20,10 @@
}; };
}; };
services.nginx.virtualHosts = mkNginxVHosts {
domains."auth.baduhai.dev".locations."/".proxyPass = "http://localhost:1411/";
};
age.secrets.pocket-id-key = { age.secrets.pocket-id-key = {
file = "${inputs.self}/secrets/pocket-id.key.age"; file = "${inputs.self}/secrets/pocket-id.key.age";
}; };