Open proxy protocol, node-exporter ports

This commit is contained in:
Sandro - 2023-06-05 19:54:05 +02:00
parent f81678b3f1
commit f5cbfda5d1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 8 additions and 0 deletions

View File

@ -85,6 +85,12 @@
]; ];
}; };
networking.firewall.allowedTCPPorts = lib.mkIf config.services.nginx.enable [
# proxy protocol used by public-access-proxy
8080
8443
];
nix = { nix = {
deleteChannels = true; deleteChannels = true;
deleteUserProfiles = true; deleteUserProfiles = true;

View File

@ -14,6 +14,8 @@ in
}; };
config = { config = {
networking.firewall.allowedTCPPorts = [ 9100 ];
services = lib.mkMerge [ services = lib.mkMerge [
(let (let
nginxStatusPort = 9100; nginxStatusPort = 9100;