mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
Enable reverse proxying in HA
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
5391565dea
commit
c3cc9fcd2d
|
@ -31,7 +31,11 @@ nglib.makeSystem {
|
|||
};
|
||||
config = with { inherit (builtins) toString; };
|
||||
{ default_config = {};
|
||||
http.server_port = "8123";
|
||||
http = {
|
||||
server_port = "8123";
|
||||
use_x_forwarded_for = true;
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
};
|
||||
logger.default = "info";
|
||||
homeassistant =
|
||||
{ name = "Home";
|
||||
|
|
Loading…
Reference in a new issue