From 45f72cbf8ac58a8dd528c656482356c0933ed61f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 12 May 2019 22:35:25 -0700 Subject: need to proxyPass through nginx --- depo/nutin-madaj/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'depo') diff --git a/depo/nutin-madaj/configuration.nix b/depo/nutin-madaj/configuration.nix index e676f96..446a5f5 100644 --- a/depo/nutin-madaj/configuration.nix +++ b/depo/nutin-madaj/configuration.nix @@ -31,7 +31,7 @@ in }; lighttpd = { enable = true; - port = 80; + port = 8000; document-root = "/srv/www"; mod_userdir = true; mod_status = true; @@ -91,6 +91,8 @@ 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"; "dev.simatime.com".locations."/".proxyPass = "http://${bensIp}:${ibbPort}"; "hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001"; -- cgit v1.2.3