Tianhe Gao

Forgejo self-host

Use a Hetzner server deploy Forgejo.

Install PG not config it, config it through Forgejo initial web page.

Config DB: https://forgejo.org/docs/latest/admin/database-preparation/#postgresql

Use Caddy as reverse proxy https://idroot.us/install-caddy-ubuntu-24-04/#Step_1_Install_Caddy_on_Ubuntu_2404

Steps:

1. Ubuntu initial setup

1apt autoremove snapd --purge -y

No notes link to this note