From 1076827b437abe4822e4fea8e448d050d1822618 Mon Sep 17 00:00:00 2001 From: Aidan Fitzgerald Date: Wed, 6 Mar 2019 23:06:31 -0500 Subject: [PATCH] Revert "Use box as domain, put gitea_url (default: /gitea) in ROOT_URL" This reverts commit d5af5e27e1d0f4e778f1df5f7c3b8de825121c0e. --- roles/gitea/templates/app.ini.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index 7b97a94a3..39bda2087 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -118,8 +118,8 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd [server] ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. PROTOCOL = http -DOMAIN = box -ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s{{ gitea_url }}/ +DOMAIN = localhost +ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ ; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket. HTTP_ADDR = 0.0.0.0 HTTP_PORT = {{ gitea_port }}