From 1fa8be91f7612fc67843220f133ea9a57224da16 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 27 Feb 2019 16:08:18 -0800 Subject: I think I need these for jupyter --- depo/nutin-madaj/configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/depo/nutin-madaj/configuration.nix b/depo/nutin-madaj/configuration.nix index 5865fae..d8e1e83 100644 --- a/depo/nutin-madaj/configuration.nix +++ b/depo/nutin-madaj/configuration.nix @@ -38,9 +38,20 @@ 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."/" = { + "notebook.simatime.com".locations = { + "/" = { proxyPass = "http://${bensIp}:3099"; proxyWebsockets = true; + extraConfig = '' + proxy_buffering off; + proxy_read_timeout 86400; + + ''; + }; + "/(api/kernels/[^/]+/channels|terminals/websocket)/" = { + proxyPass = "http://${bensIp}:3099"; + proxyWebsockets = true; + }; }; "stats.simatime.com" = { locations."/".proxyPass = "http://localhost:${fathomPort}"; -- cgit v1.2.3