pepe: add nginx for home-assistant
This commit is contained in:
parent
5598ec5c5c
commit
4df3c4ae8c
1 changed files with 17 additions and 0 deletions
|
@ -210,4 +210,21 @@ in {
|
|||
|
||||
};
|
||||
|
||||
# host nginx setup
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"iot.pepe.private" = {
|
||||
serverAliases = [
|
||||
"hass.pepe.private"
|
||||
"home.pepe.private"
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://pepe.private:8123";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue