mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Open ports for domains
This commit is contained in:
@@ -6,7 +6,13 @@
|
|||||||
../shared.nix
|
../shared.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "server";
|
networking = {
|
||||||
|
hostname = "server";
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPorts = [ 80 443 25565 ];
|
||||||
|
allowedUDPPorts = [ 80 443 25565 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
minecraft-server = {
|
minecraft-server = {
|
||||||
|
|||||||
Reference in New Issue
Block a user