Add missing packages and enable nginx
This commit is contained in:
parent
378f2d9882
commit
99dd5ec1fe
@ -368,19 +368,27 @@
|
|||||||
"zone"
|
"zone"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
extraPackages = python3Packages: with python3Packages; [
|
||||||
|
pyeiscp
|
||||||
|
zeroconf
|
||||||
|
];
|
||||||
|
|
||||||
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
|
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
|
||||||
mushroom
|
mushroom
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."home.mesh.vimium.net" = {
|
services.nginx = {
|
||||||
forceSSL = false;
|
enable = true;
|
||||||
extraConfig = ''
|
virtualHosts."home.mesh.vimium.net" = {
|
||||||
proxy_buffering off;
|
forceSSL = false;
|
||||||
'';
|
extraConfig = ''
|
||||||
locations."/" = {
|
proxy_buffering off;
|
||||||
proxyPass = "http://[::1]:8123";
|
'';
|
||||||
proxyWebsockets = true;
|
locations."/" = {
|
||||||
|
proxyPass = "http://[::1]:8123";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user