From 5eaedac3a2c56834c438ff8bd967d9e0d30e6b25 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sun, 9 Feb 2025 18:19:03 -0700 Subject: testing bad things --- modules/nixos/cgit.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/nixos/cgit.nix b/modules/nixos/cgit.nix index 60f9bc3..358c610 100644 --- a/modules/nixos/cgit.nix +++ b/modules/nixos/cgit.nix @@ -27,13 +27,14 @@ in { # This is for hosting on bosco # this solution is extremely hacky as it changes nginx system defaults instead of virtual host default #TODO: fix - services.nginx.defaultHTTPListenPort = 8081; - services.caddy = { - enable = true; - email = "${email}"; - virtualHosts."git.myrmexia.xyz".extraConfig = '' - "reverse_proxy http://localhostt:8081" ''; - # reverse_proxy http://localhost:${toString config.services.cgit.port} '' - }; - networking.firewall.allowedTCPPorts = [8081]; + # services.nginx.defaultHTTPListenPort = 8081; + # services.caddy = { + # enable = true; + # email = "${email}"; + # virtualHosts."git.myrmexia.xyz".extraConfig = '' + # "reverse_proxy http://localhost:8081" + # ''; + # # reverse_proxy http://localhost:${toString config.services.cgit.port} '' + # }; + # networking.firewall.allowedTCPPorts = [8081]; } -- cgit v1.2.3