These are my notes from setting up Gogs on Debian 8 Jessie with Apache2 and PostgreSQL.
This guide assumes you have a fresh copy of Debian Jessie and it's up to date sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
.
Firewall
On my server access to all ports except …