From 2c1c0b05d40200b63b53c5d6f7808734b0150038 Mon Sep 17 00:00:00 2001 From: kat witch Date: Tue, 21 Sep 2021 00:54:19 +0100 Subject: [PATCH] services/vaultwarden: Fix incorrect port --- config/services/vaultwarden.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/config/services/vaultwarden.nix b/config/services/vaultwarden.nix index 951cfa59..c48d77ef 100644 --- a/config/services/vaultwarden.nix +++ b/config/services/vaultwarden.nix @@ -54,9 +54,18 @@ enableACME = true; forceSSL = true; locations = { - "/".proxyPass = "http://127.0.0.1:4000"; - "/notifications/hub".proxyPass = "http://127.0.0.1:3012"; - "/notifications/hub/negotiate".proxyPass = "http://127.0.0.1:80"; + "/" = { + proxyPass = "http://localhost:4000"; + proxyWebsockets = true; + }; + "/notifications/hub" = { + proxyPass = "http://localhost:3012"; + proxyWebsockets = true; + }; + "/notifications/hub/negotiate" = { + proxyPass = "http://localhost:4000"; + proxyWebsockets = true; + }; }; };