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.