From 656816ed9af6277bbeb1c5e74471bace3a78e5be Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 16 Nov 2020 11:47:36 -0500 Subject: get build working and capitalize more files --- Biz/Cloud/web.nix | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 Biz/Cloud/web.nix (limited to 'Biz/Cloud/web.nix') diff --git a/Biz/Cloud/web.nix b/Biz/Cloud/web.nix deleted file mode 100644 index acd5c2f..0000000 --- a/Biz/Cloud/web.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ ... }: - -let - bensIp = "24.140.84.23"; -in -{ - services = { - nginx = { - enable = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; - virtualHosts = { - "bsima.me".root = "/home/ben/public_html/"; - "www.bsima.me".root = "/home/ben/public_html/"; - "simatime.com".locations."/".root = "/srv/www/"; - "firefoxsync.simatime.com".locations."/".proxyPass = "http://localhost:5001"; - "hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001"; - "tv.simatime.com".locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096 - "deluge.simatime.com".locations."/".proxyPass = "http://${bensIp}:8112"; - - "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; - }; - }; - }; - }; - }; -} -- cgit v1.2.3