athens/nix/modules/home-assistant/nginx.nix
2024-09-02 10:47:02 -04:00

18 lines
292 B
Nix

_:
{
services.nginx = {
enable = true;
virtualHosts = {
"hass.nerdhaus.ca" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://100.72.37.46:8123";
proxyWebsockets = true;
};
};
};
};
}