From 62f6a0a30b9a99288b205160f518b737d0286c3b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2019 13:48:25 -0700 Subject: maybe fix znc web console redirect --- depo/nutin-madaj/web.nix | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3