♻️ consolidate nix configs
This commit is contained in:
17
nix/modules/home-assistant/nginx.nix
Normal file
17
nix/modules/home-assistant/nginx.nix
Normal file
@ -0,0 +1,17 @@
|
||||
_:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"hass.nerdhaus.ca" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://100.72.37.46:8123";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user