From 1d79b1c9655b7eb6c13ceac1f3a7fd0d7c5083b7 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Thu, 16 May 2024 19:06:02 +0200 Subject: [PATCH] Add forgejo to caddyfile --- hosts/x86_64-linux/beleth/default.nix | 7 +++++++ hosts/x86_64-linux/beleth/git.nix | 3 +++ 2 files changed, 10 insertions(+) diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index f301d15..437afd1 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -40,15 +40,22 @@ with lib; { root * /var/www/demos/ file_server browse } + git.heroin.trade { + reverse_proxy http://localhost:3001 + } + jellyfin.heroin.trade { reverse_proxy http://127.0.0.1:8096 } + calibre.heroin.trade { reverse_proxy http://localhost:3000 } + grafana.heroin.trade { reverse_proxy http://127.0.0.1:2342 } + uptime.heroin.trade { reverse_proxy 127.0.0.1:3001 } diff --git a/hosts/x86_64-linux/beleth/git.nix b/hosts/x86_64-linux/beleth/git.nix index 202a11c..a457f56 100644 --- a/hosts/x86_64-linux/beleth/git.nix +++ b/hosts/x86_64-linux/beleth/git.nix @@ -2,5 +2,8 @@ { services.forgejo = { enable = true; + settings.server = { + HTTP_PORT = 3001; + }; }; }