infra/nixos/hosts/silver/services/shim-vaultwarden.nix

15 lines
288 B
Nix
Raw Permalink Normal View History

2024-12-22 01:11:19 -06:00
{...}: let
httpIntAddr = "10.13.1.1";
httpIntPort = 14210;
dom = "pw.min.rip";
in {
services.nginx.virtualHosts.${dom} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://${toString httpIntAddr}:${toString httpIntPort}";
};
};
}