nrec-nixos01: add Forgejo with Caddy reverse proxy
Some checks failed
Run nix flake check / flake-check (push) Failing after 5m6s
Run nix flake check / flake-check (pull_request) Failing after 4m31s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 14:49:48 +01:00
parent 822380695e
commit cfc0c6f6cb
3 changed files with 21 additions and 2 deletions

View File

@@ -53,6 +53,7 @@
networking.firewall.allowedTCPPorts = [
22
80
443
];
nix.settings.substituters = [
@@ -64,9 +65,9 @@
services.caddy = {
enable = true;
virtualHosts.":80" = {
virtualHosts."nrec-nixos01.t-juice.club" = {
extraConfig = ''
respond "Hello from nrec-nixos01"
reverse_proxy 127.0.0.1:3000
'';
};
};