Set the Gitea root URL to HTTPS

It fixes U2F security keys support, that was broken because the protocol
did not match

Fixes #182
This commit is contained in:
Greg Karékinian 2020-06-12 17:22:34 +02:00
parent 81403b7cb9
commit 5e483240c3

View File

@ -8,7 +8,8 @@ DISABLE_SSH = false
SSH_PORT = 22
PROTOCOL = http
DOMAIN = gitea.kosmos.org
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s
# Gitea is running behind an nginx reverse load balancer, use an HTTPS root URL
ROOT_URL = https://%(DOMAIN)s
# REDIRECT_OTHER_PORT = true
# PORT_TO_REDIRECT = 3001
# ENABLE_LETSENCRYPT = true