1
0
Fork 0

mosquitto: enable service

This commit is contained in:
Daniel Kempkens 2023-03-17 22:20:33 +01:00
parent c8ff39796b
commit 572da55418
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -56,8 +56,16 @@ in
}; };
}]; }];
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ];
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 1883 ]; networking.firewall.interfaces =
let
mosquittoPorts = [ 1883 ];
in
{
"enp7s0".allowedTCPPorts = mosquittoPorts;
"tailscale0".allowedTCPPorts = mosquittoPorts;
"podman+".allowedTCPPorts = mosquittoPorts;
};
services.nginx.virtualHosts."${secret.container.weewx.hostname}" = { services.nginx.virtualHosts."${secret.container.weewx.hostname}" = {
http3 = true; http3 = true;