Fix Gitea always being on localhost instead of its own fucking domain

This commit is contained in:
Salt 2020-04-30 08:40:04 -05:00
parent f4568e7e49
commit a1d8a578b6

View File

@ -225,7 +225,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
[server] [server]
; 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 = localhost DOMAIN = {{ gitea_url }}
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)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 =