diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index b46adbaa..9639cf97 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -81,13 +81,9 @@ }; networking.firewall = { - allowedTCPPorts = [ 5000 22 53 80 8080 ]; + allowedTCPPorts = [ 5000 22 53 80 8080 12000 ]; allowedUDPPorts = [ 5000 22 53 80 8080 18900 19900 ]; }; - - #networking.firewall.extraCommands = '' - # iptables - # ''; #_______________________________Begin-VPN1-Server____________________________________ networking.wireguard.interfaces = { @@ -223,14 +219,14 @@ networking.wireguard.interfaces = { #-----------------------------ngin-X-------------------------------- services.nginx = { - listen 80; + listen 8080; enable = true; virtualHosts."bicospacetech.c3d2.de" = { default = true; forceSSL = true; enableACME = true; - locations."/login" = { - proxyPass = "http://10.10.11.1:80"; + locations."/" = { + proxyPass = "http://45.158.40.162:12000"; proxyWebsockets = true; }; };