refactor(home-assistant): move nginx config to home-assistant.nix
This commit is contained in:
parent
511c626df1
commit
9145766972
2 changed files with 8 additions and 11 deletions
|
@ -19,6 +19,14 @@ in {
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
${config.networking.domain} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8123";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue