Correct ROOT_URL for Gitea

This commit is contained in:
Salt 2020-04-30 09:28:49 -05:00
parent a1d8a578b6
commit 347db1aba4

View File

@ -226,7 +226,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
PROTOCOL = http PROTOCOL = http
DOMAIN = {{ gitea_url }} DOMAIN = {{ gitea_url }}
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ ROOT_URL = https://%(DOMAIN)s/
; when STATIC_URL_PREFIX is empty it will follow ROOT_URL ; when STATIC_URL_PREFIX is empty it will follow ROOT_URL
STATIC_URL_PREFIX = STATIC_URL_PREFIX =
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket. ; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.