From f1e05fd4f787effd9fea4e79feb6494a900776eb Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 12 Feb 2024 19:14:37 +0100 Subject: [PATCH] Allow websockets for web smos instance --- hosts/nixos/lapetus/services/smos.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/services/smos.nix b/hosts/nixos/lapetus/services/smos.nix index 3673c09..70122df 100644 --- a/hosts/nixos/lapetus/services/smos.nix +++ b/hosts/nixos/lapetus/services/smos.nix @@ -55,8 +55,8 @@ in # }}} # {{{ Networking & storage services.nginx.virtualHosts.${docsHost} = config.satellite.proxy docsPort { }; - services.nginx.virtualHosts.${webHost} = config.satellite.proxy webPort { }; - services.nginx.virtualHosts.${apiHost} = config.satellite.proxy apiPort { + services.nginx.virtualHosts.${apiHost} = config.satellite.proxy apiPort { }; + services.nginx.virtualHosts.${webHost} = config.satellite.proxy webPort { proxyWebsockets = true; # Just to make sure we don't run into 413 errors on big syncs