added proxy for iot devices

This commit is contained in:
Nickiel12 2023-11-21 17:38:07 -08:00
parent c28e90782f
commit 0aececd4fd
2 changed files with 11 additions and 0 deletions

View file

@ -14,4 +14,9 @@
type = "A"; type = "A";
value = "100.64.0.1"; value = "100.64.0.1";
} }
{
name = "iot.nickiel.net";
type = "A";
value = "100.64.0.1";
}
] ]

View file

@ -39,6 +39,12 @@
}; };
}; };
"iot.nickiel.net" = {
locations."/turn_computer_on" = {
proxyPass = "http://10.0.184/turn_computer_on";
};
};
"files.nickiel.net" = { "files.nickiel.net" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;