diff options
Diffstat (limited to 'depo/nutin-madaj')
-rw-r--r-- | depo/nutin-madaj/git.nix | 2 | ||||
-rw-r--r-- | depo/nutin-madaj/web.nix | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/depo/nutin-madaj/git.nix b/depo/nutin-madaj/git.nix index ef86d52..9fedca0 100644 --- a/depo/nutin-madaj/git.nix +++ b/depo/nutin-madaj/git.nix @@ -19,7 +19,7 @@ in adminPubkey = "${benKey}"; }; lighttpd = { - enable = true; + enable = false; port = 8000; document-root = "/srv/www"; mod_userdir = true; diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix index 8430c73..46231fc 100644 --- a/depo/nutin-madaj/web.nix +++ b/depo/nutin-madaj/web.nix @@ -12,9 +12,11 @@ in recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { - "bsima.me".locations."/".proxyPass = "http://localhost:8000/~ben"; - "simatime.com".locations."/".proxyPass = "http://localhost:8000"; - "web.simatime.com".locations."/".proxyPass = "http://${bensIp}:8000"; + "bsima.me" = { + root = "/home/ben/public_html/"; + locations."/".root = "/home/ben/public_html/"; + }; + "simatime.com".locations."/".root = "/srv/www/"; "hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001"; "tv.simatime.com".locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096 |