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:
parent
81403b7cb9
commit
5e483240c3
@ -8,7 +8,8 @@ DISABLE_SSH = false
|
|||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
PROTOCOL = http
|
PROTOCOL = http
|
||||||
DOMAIN = gitea.kosmos.org
|
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
|
# REDIRECT_OTHER_PORT = true
|
||||||
# PORT_TO_REDIRECT = 3001
|
# PORT_TO_REDIRECT = 3001
|
||||||
# ENABLE_LETSENCRYPT = true
|
# ENABLE_LETSENCRYPT = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user