Fix Gitea always being on localhost instead of its own fucking domain
This commit is contained in:
parent
f4568e7e49
commit
a1d8a578b6
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user