diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-13 11:24:02 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-13 11:24:02 -0700 |
commit | 1636706b98afceb1b073c25b52a904f267c61910 (patch) | |
tree | 30a8943fc2473c8e568c09bf3e098664023cb998 /modules/services/gitea | |
parent | fish: only start sway when sway is installed (diff) | |
download | world-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.nix | 5 |
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 ]; }; }; } |