diff options
Diffstat (limited to 'depo')
-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}"; |