From 347db1aba48b27c7e7a853678ea2316bf1520bac Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 30 Apr 2020 09:28:49 -0500 Subject: [PATCH] Correct ROOT_URL for Gitea --- 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 fe2e244..e4285ba 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -226,7 +226,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. PROTOCOL = http 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 STATIC_URL_PREFIX = ; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.