broker: listen on both ipv4 and ipv6

though sysctl net.ipv6.bindv6only is already at 0
This commit is contained in:
Astro 2022-07-17 02:00:55 +02:00
parent 89fd6b7cbb
commit 451719ee2e
1 changed files with 12 additions and 0 deletions

View File

@ -68,9 +68,21 @@ in
};
in
[ {
address = "0.0.0.0";
port = 1883;
inherit users;
} {
address = "::";
port = 1883;
inherit users;
} {
address = "0.0.0.0";
port = 8883;
settings = {
certfile = "/run/credentials/mosquitto.service/cert.pem";
keyfile = "/run/credentials/mosquitto.service/key.pem";
};
inherit users;
} {
address = "::";
port = 8883;