added minecraft ports

This commit is contained in:
k 2025-01-02 02:08:47 +00:00
parent 3995c29b03
commit cf0d1d2503

View File

@ -5,8 +5,8 @@
}: { }: {
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPorts = [80 443 22 26615]; allowedTCPPorts = [80 443 22 26615 25565 24454];
allowedUDPPorts = [26615]; allowedUDPPorts = [26615 25565 24454];
}; };
security.acme = { security.acme = {
@ -169,6 +169,15 @@
}; };
}; };
"map.dhilton.xyz" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8100";
proxyWebsockets = true;
};
};
"nix.dhilton.xyz" = { "nix.dhilton.xyz" = {
locations."/".proxyPass = "http://127.0.0.1:5000"; locations."/".proxyPass = "http://127.0.0.1:5000";
}; };