From 9e39e67e1571dd834bd5ca63021fafe2038b5053 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2019 16:54:18 -0700 Subject: try to passthru deluge web console port not sure if this will work, but worth a try --- depo/hidor-kahih/configuration.nix | 9 +++++++-- depo/nutin-madaj/web.nix | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/depo/hidor-kahih/configuration.nix b/depo/hidor-kahih/configuration.nix index 43885ad..2238e05 100644 --- a/depo/hidor-kahih/configuration.nix +++ b/depo/hidor-kahih/configuration.nix @@ -9,9 +9,14 @@ }; firewall = { - allowedTCPPorts = [ 8096 22 8000 8443 443 500 10000 8080 8081]; + allowedTCPPorts = [ + 22 8000 8443 443 8080 8081 # std + 500 10000 # no idea + 8096 # emby + 8112 # deluge + ]; allowedTCPPortRanges = [ - { from = 3000; to = 3100; } # dev + { from = 3000; to = 3100; } # dev stuff ]; checkReversePath = false; }; diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix index 899200c..62335ba 100644 --- a/depo/nutin-madaj/web.nix +++ b/depo/nutin-madaj/web.nix @@ -15,9 +15,10 @@ in "bsima.me".root = "/home/ben/public_html/"; "www.bsima.me".root = "/home/ben/public_html/"; "simatime.com".locations."/".root = "/srv/www/"; - "znc.simatime.com".locations."^(.*)$".proxyPass = "http://localhost/znc$1"; + "znc.simatime.com".locations."^(.*)".proxyPass = "http://localhost/znc$1"; "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 = { "/" = { -- cgit v1.2.3