File gitea-apache.conf of Package gitea
# gitea under /git and with ssl
#
# Change following in /etc/gitea/conf/app.ini
#
# You have two options
#
# First option:
#
# - ROOT_URL to http://<your_server>.<your_domain>/git/
#
#
# Second option:
#
# - PROTOCOL to https
# - ROOT_URL to https://<your_server>.<your_domain>/git/
#
# Uncomment below rows and change <your_server>.<your_domain>
# to your server and domain.
#SSLProxyEngine On
#<Location /git>
# Require all granted
# ProxyPass http://localhost:3000
# ProxyPassReverse http://localhost:3000
#</Location>
# XOR
#<Location /git>
# Require all granted
# ProxyPass https://<your_server>.<your_domain>:3000
# ProxyPassReverse https://<your_server>.<your_domain>:3000
#</Location>