summaryrefslogtreecommitdiff
path: root/depo
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-23 16:54:18 -0700
committerBen Sima <ben@bsima.me>2019-05-23 17:01:17 -0700
commit9e39e67e1571dd834bd5ca63021fafe2038b5053 (patch)
tree840977c52e78fc6f113a2318ad6f9b814ac18e1f /depo
parent62f6a0a30b9a99288b205160f518b737d0286c3b (diff)
try to passthru deluge web console port
not sure if this will work, but worth a try
Diffstat (limited to 'depo')
-rw-r--r--depo/hidor-kahih/configuration.nix9
-rw-r--r--depo/nutin-madaj/web.nix3
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 = {
"/" = {