summaryrefslogtreecommitdiff
path: root/depo
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-27 11:43:42 -0800
committerBen Sima <ben@bsima.me>2019-02-27 11:43:42 -0800
commit620c3ec0a420693dd7e13d925f185de5f7cbe967 (patch)
tree3ba293942f03a2c8b5d12a3ba2c5ab4157417082 /depo
parent82396144abf6d9896dd14220db64333e8a83e5b6 (diff)
Proxy websockets for jupyter notebooks
Diffstat (limited to 'depo')
-rw-r--r--depo/nutin-madaj/configuration.nix5
1 files changed, 4 insertions, 1 deletions
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;