mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-26 14:45:29 -08:00
added proxy for iot devices
This commit is contained in:
parent
c28e90782f
commit
0aececd4fd
2 changed files with 11 additions and 0 deletions
|
@ -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";
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue