diff options
author | Ben Sima <ben@bsima.me> | 2019-02-27 16:08:18 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-02-27 16:08:18 -0800 |
commit | 1fa8be91f7612fc67843220f133ea9a57224da16 (patch) | |
tree | 4d759dd59ee4114546757e0b796b36d7502142c8 /depo/nutin-madaj | |
parent | 904ec057238a2dd2b7b63f538bae4f1302afa582 (diff) |
I think I need these for jupyter
Diffstat (limited to 'depo/nutin-madaj')
-rw-r--r-- | depo/nutin-madaj/configuration.nix | 13 |
1 files changed, 12 insertions, 1 deletions
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}"; |