summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-23 13:48:25 -0700
committerBen Sima <ben@bsima.me>2019-05-23 13:48:25 -0700
commit62f6a0a30b9a99288b205160f518b737d0286c3b (patch)
tree6d0edd1548d49a0705f7c2dac9f262350a09ca70
parent095e26f0fc1fc92404256912beaaa4edf756d7c8 (diff)
maybe fix znc web console redirect
-rw-r--r--depo/nutin-madaj/web.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix
index f9dc8b4..899200c 100644
--- a/depo/nutin-madaj/web.nix
+++ b/depo/nutin-madaj/web.nix
@@ -15,8 +15,7 @@ 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/";
- "znc2.simatime.com".locations."/".proxyPass = "http://localhost:5000/znc/";
+ "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