diff --git a/hosts/Alaska/modules/dns.nix b/hosts/Alaska/modules/dns.nix index 4df7d5b..2f1e1e2 100644 --- a/hosts/Alaska/modules/dns.nix +++ b/hosts/Alaska/modules/dns.nix @@ -14,4 +14,9 @@ type = "A"; value = "100.64.0.1"; } + { + name = "iot.nickiel.net"; + type = "A"; + value = "100.64.0.1"; + } ] diff --git a/hosts/Alaska/modules/nginx.nix b/hosts/Alaska/modules/nginx.nix index 0fe9532..3f024c3 100644 --- a/hosts/Alaska/modules/nginx.nix +++ b/hosts/Alaska/modules/nginx.nix @@ -39,6 +39,12 @@ }; }; + "iot.nickiel.net" = { + locations."/turn_computer_on" = { + proxyPass = "http://10.0.184/turn_computer_on"; + }; + }; + "files.nickiel.net" = { forceSSL = true; enableACME = true;