nrec-nixos01: add Forgejo with Caddy reverse proxy #45

Merged
torjus merged 1 commits from nrec-forgejo into master 2026-03-08 13:50:47 +00:00
Owner

Summary

  • Add Forgejo service module (services/forgejo/) with SQLite database, registration disabled, and secure cookies
  • Replace static Caddy response with reverse proxy to Forgejo on nrec-nixos01.t-juice.club (automatic Let's Encrypt TLS)
  • Open port 443 in firewall

Post-deploy

Create admin user on the host:

sudo -u forgejo forgejo --config /var/lib/forgejo/custom/conf/app.ini admin user create \
  --admin --username <name> --password <pass> --email <email>

🤖 Generated with Claude Code

## Summary - Add Forgejo service module (`services/forgejo/`) with SQLite database, registration disabled, and secure cookies - Replace static Caddy response with reverse proxy to Forgejo on `nrec-nixos01.t-juice.club` (automatic Let's Encrypt TLS) - Open port 443 in firewall ## Post-deploy Create admin user on the host: ```bash sudo -u forgejo forgejo --config /var/lib/forgejo/custom/conf/app.ini admin user create \ --admin --username <name> --password <pass> --email <email> ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
torjus added 1 commit 2026-03-08 13:50:41 +00:00
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
cfc0c6f6cb
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
torjus merged commit fc53681b2a into master 2026-03-08 13:50:47 +00:00
torjus deleted branch nrec-forgejo 2026-03-08 13:50:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos-servers#45