added minecraft ports
This commit is contained in:
parent
3995c29b03
commit
cf0d1d2503
@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user