From fde6582a6664e6229296d0dcf2a4d9c87b4cfab5 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 21 Nov 2023 18:04:09 -0800 Subject: [PATCH] added homepage --- hosts/Alaska/modules/nginx.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/Alaska/modules/nginx.nix b/hosts/Alaska/modules/nginx.nix index 3f024c3..f74f8de 100644 --- a/hosts/Alaska/modules/nginx.nix +++ b/hosts/Alaska/modules/nginx.nix @@ -40,8 +40,13 @@ }; "iot.nickiel.net" = { - locations."/turn_computer_on" = { - proxyPass = "http://10.0.184/turn_computer_on"; + locations = { + "/" = { + "/Aurora/StaticSites/iot" + }; + "/turn_computer_on" = { + proxyPass = "http://10.0.184/turn_computer_on"; + }; }; };