fix(esphome): fix nginx proxy
This commit is contained in:
parent
f032f7f2d1
commit
0a673b54a9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ in {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://[::1]:${toString port}";
|
proxyPass = "http://localhost:${toString port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue