mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/webserver: fix extraConfigs
This commit is contained in:
parent
18c9d409bb
commit
4689abd47b
1 changed files with 0 additions and 13 deletions
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue