summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/cgit.nix19
1 files 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];
}