about summary refs log tree commit diff
path: root/modules/services/gitea
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-13 11:24:02 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-13 11:24:02 -0700
commit1636706b98afceb1b073c25b52a904f267c61910 (patch)
tree30a8943fc2473c8e568c09bf3e098664023cb998 /modules/services/gitea
parentfish: only start sway when sway is installed (diff)
downloadworld-1636706b98afceb1b073c25b52a904f267c61910.tar.gz
nginx: add nginx as a reverse proxy
This will ultimately replace traefik.
Diffstat (limited to '')
-rw-r--r--modules/services/gitea/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix
index d232001..6828439 100644
--- a/modules/services/gitea/default.nix
+++ b/modules/services/gitea/default.nix
@@ -37,6 +37,11 @@ in {
       };
     };
 
+    my.services.nginx.virtualHosts = [{
+      subdomain = "gitea";
+      port = 8002;
+    }];
+
     my.services.backup = { paths = [ cfg.stateDir ]; };
   };
 }