From c2e4b0ef17d0006aff5c9809dcdfa3ac8b80f8a8 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 22 May 2019 21:46:44 -0700 Subject: cleanup my site --- depo/nutin-madaj/web.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'depo/nutin-madaj/web.nix') diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix index 46231fc..b77f4eb 100644 --- a/depo/nutin-madaj/web.nix +++ b/depo/nutin-madaj/web.nix @@ -1,7 +1,7 @@ { ... }: let - bensIp = "68.107.97.20"; # hiddor-kahih + bensIp = "68.107.97.20"; # hidor-kahih in { services = { @@ -12,10 +12,8 @@ in recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { - "bsima.me" = { - root = "/home/ben/public_html/"; - locations."/".root = "/home/ben/public_html/"; - }; + "bsima.me".root = "/home/ben/public_html/"; + "www.bsima.me".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 -- cgit v1.2.3