From 620c3ec0a420693dd7e13d925f185de5f7cbe967 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 27 Feb 2019 11:43:42 -0800 Subject: Proxy websockets for jupyter notebooks --- depo/nutin-madaj/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'depo') diff --git a/depo/nutin-madaj/configuration.nix b/depo/nutin-madaj/configuration.nix index a93ee21..5865fae 100644 --- a/depo/nutin-madaj/configuration.nix +++ b/depo/nutin-madaj/configuration.nix @@ -38,7 +38,10 @@ in "hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001"; "tv.simatime.com".locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096 - "notebook.simatime.com".locations."/".proxyPass = "http://${bensIp}:3099"; + "notebook.simatime.com".locations."/" = { + proxyPass = "http://${bensIp}:3099"; + proxyWebsockets = true; + }; "stats.simatime.com" = { locations."/".proxyPass = "http://localhost:${fathomPort}"; forceSSL = true; -- cgit v1.2.3