This commit is contained in:
Maciej Jur 2024-04-07 00:58:22 +02:00
parent f7e2f579d6
commit 6a3e77e142
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
3 changed files with 4 additions and 6 deletions

View file

@ -19,12 +19,6 @@
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
22
80
443
2222
];
};
};

View file

@ -6,6 +6,8 @@
openssh.authorizedKeys.keyFiles = [ /root/.ssh/kamov.pub ];
};
networking.firewall.allowedTCPPorts = [ 22 2222 ];
services = {
endlessh = {
enable = true;

View file

@ -14,6 +14,8 @@
defaults.email = "maciej@kamoshi.org";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
services = {
nginx = {
enable = true;