From ffa02913a1deae3cf849be509fb4f98783133c09 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 22 May 2019 21:32:35 -0700 Subject: switch to nginx only --- depo/nutin-madaj/web.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'depo/nutin-madaj/web.nix') 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 -- cgit v1.2.3