diff options
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r-- | os/kay/modules/www.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index 54eab65..f565cac 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -87,6 +87,16 @@ in locations."= /".return = "301 https://www.${domain}"; }; + "home.${domain}" = defaultOpts // { + extraConfig = "proxy_buffering off;"; + locations."/" = { + proxyWebsockets = true; + proxyPass = "http://127.0.0.1:${ + builtins.toString config.services.home-assistant.config.http.server_port + }"; + }; + }; + "${fscusat}" = defaultOpts // { useACMEHost = null; enableACME = true; |