service/webserver: fix extraConfigs

This commit is contained in:
Felix Buehler 2025-01-26 18:51:19 +01:00
parent 18c9d409bb
commit 4689abd47b

View file

@ -149,23 +149,10 @@ in
{ {
subdomain = "automation"; subdomain = "automation";
inherit (cfg) port; inherit (cfg) port;
extraConfig = {
locations."/" = {
proxyWebsockets = true;
extraConfig = ''
proxy_buffering off;
'';
};
};
} }
{ {
subdomain = "esphome"; subdomain = "esphome";
inherit (config.services.esphome) port; inherit (config.services.esphome) port;
extraConfig = {
locations."/" = {
proxyWebsockets = true;
};
};
} }
]; ];