From lathama
Jump to: navigation, search

Github account:


Install and note the version in this example is 1.3.2 and maybe some day there will be a stable branch/tag.

adduser git
su git
cd /home/git
mkdir gitea
wget -O gitea
chmod +x gitea

Use for


Apache Proxy via

 <Proxy *>
  Order allow,deny
  Allow from all
 ProxyPreserveHost On
 ProxyRequests off
 ProxyPass /git
 ProxyPassReverse /git

In /home/git/gitea/custom/config/app.ini limit to localhost like:

PROTOCOL         = http
DOMAIN           =
HTTP_ADDR        =
HTTP_PORT        = 3000
ROOT_URL         =

In the app.ini you can set many things like and example at eg

APP_NAME = Lathama Git Server

Then we just need to start/restart services. (I use restart a lot in the case I had already started it.)

systemctl reload apache2
systemctl restart gitea

Sponsorship and Advertising space here. Please contact me if interested.