Merge pull request 'Set the Gitea root URL to HTTPS' (#183) from bugfix/182-gitea_root_url into master

This commit was merged in pull request #183.
This commit is contained in:
2020-06-15 12:39:29 +00:00

View File

@@ -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