From a1d8a578b6230ae88a96be4e9ff359a49393f8d5 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 30 Apr 2020 08:40:04 -0500 Subject: [PATCH] Fix Gitea always being on localhost instead of its own fucking domain --- roles/gitea/templates/app.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitea/templates/app.ini b/roles/gitea/templates/app.ini index 973b6a4..fe2e244 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -225,7 +225,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd [server] ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. PROTOCOL = http -DOMAIN = localhost +DOMAIN = {{ gitea_url }} ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ ; when STATIC_URL_PREFIX is empty it will follow ROOT_URL STATIC_URL_PREFIX =