diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index d5de83f..a79440b 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -66,6 +66,7 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrpVDLQszFKoYbvYKRyVTTpehxR0BVU47SXkz39l2wK usr" # mainsail "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2xUbQw9+RCPVw7qCFm4NNCP/MpS2BIArcwMv0KdKOI usr" # mlg "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHZw5bg0TrvSkW/XQa4c+2iLbIKOxfMGbjy5Nb3HSfBv usr" # phone + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCufie2JWc4ylZHIi03uR0RB/79/hTacn9qnlzqs+kaWcdk7eyHqpg3zmVrETCZQxJ8ssZx4+tlwC0+seOjgIfNktfKjiRpes2Sib0MowO3lRgzqJ0pZ5AEA/pc4314meAZP/CibFw54CWxOySEXsCWKm157HVJHpJ7P0HwqzHod4jXxUWKwMoZo5XyOTTMHv4oytcHTydIeiSymw3RtvEtqpBCRE3W5kIiJNuCXnZGZBxvOnhJsQ0FkeXgByeXOLFxUw0ma6Jy/621T2GrBnmFhiSIV+T7xk/cfgP+D1V9x2wCLX5gPQaNzwL03v3xohxnJwRa6EXTR9LzXE7Rhnolbmkb/YPPpI6U0RpueZrHv/1CIA3OSKnQh1cp/jMeP4DfeO+fSY1SsRZICQ3ndlnYkXtalEzGPxeLUgLsh6SxSIK+7jjlDGrJCUbOMHhR+92vBXy7XE8tgO2FuhrAIiroIsaWmZO/7sike3ps3GFEZHZMEe2v3IDqfX/Iecn++U= usr" # aristotle ]; isNormalUser = true; extraGroups = [ "wheel" "docker" ]; diff --git a/boxes/netbox/gitea.nix b/boxes/netbox/gitea.nix index 9977216..990526e 100644 --- a/boxes/netbox/gitea.nix +++ b/boxes/netbox/gitea.nix @@ -39,5 +39,8 @@ locations."/" = { proxyPass = "http://localhost:3001"; }; + locations."/bridge" = { + proxyPass = "http://localhost:5000"; + }; }; } diff --git a/boxes/netbox/nginx.nix b/boxes/netbox/nginx.nix index 5db3d31..50141bc 100644 --- a/boxes/netbox/nginx.nix +++ b/boxes/netbox/nginx.nix @@ -16,6 +16,18 @@ }; }; + services.nginx.virtualHosts."tfb.beepboop.systems" = { + forceSSL = true; + enableACME = true; + root = "/var/www/tfb.beepboop.systems"; + locations."/" = { + extraConfig = '' + port_in_redirect off; + absolute_redirect off; + ''; + }; + }; + security.acme = { acceptTerms = true; defaults.email = "nickforanick@protonmail.com";