diff --git a/nixos/gitea.nix b/nixos/gitea.nix index 07caf9fd..09ffd93a 100644 --- a/nixos/gitea.nix +++ b/nixos/gitea.nix @@ -7,9 +7,28 @@ makeEnable config "modules.gitea" false { settings.server = { DOMAIN = "1896Folsom.duckdns.org"; SSH_PORT = 1123; + HTTP_PORT = 3000; }; settings.actions = { ENABLED = true; }; }; + + services.nginx = { + enable = true; + virtualHosts = { + "1896Folsom.duckdns.org:3001" = { + enableACME = true; + listen = [{ + addr = "0.0.0.0"; + port = 3001; + }]; + # enableACME = true; + # forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:3000"; + }; + }; + }; + }; } diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index f2f547ca..45f90ece 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -52,9 +52,6 @@ in locations."/" = { proxyPass = "http://[::1]:8222"; }; - # listen = [ - # { addr = "0.0.0.0"; port = 8443; } - # ]; }; }; };