From 1ea172e6903ea20f5395b8dfc6e7ae13ceb62784 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 19 Jul 2024 18:06:14 +0100 Subject: [PATCH] nixos/vaultwarden: Use non-privileged port --- nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix | 2 +- nixos/boxes/colony/vms/shill/containers/vaultwarden.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix index 2757ce6..c7f7f46 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix @@ -145,7 +145,7 @@ in "pass.${pubDomain}" = let - upstream = "http://vaultwarden-ctr.${domain}"; + upstream = "http://vaultwarden-ctr.${domain}:8080"; in { locations = { diff --git a/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix b/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix index 0a1cd92..916c330 100644 --- a/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix +++ b/nixos/boxes/colony/vms/shill/containers/vaultwarden.nix @@ -83,7 +83,7 @@ in DOMAIN = "https://pass.${lib.my.c.pubDomain}"; ROCKET_ADDRESS = "::"; - ROCKET_PORT = 80; + ROCKET_PORT = 8080; SMTP_HOST = "mail.nul.ie"; SMTP_FROM = "pass@nul.ie";