diff options
-rw-r--r-- | depo/hidor-kahih/configuration.nix | 9 | ||||
-rw-r--r-- | 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 = { "/" = { |