From 2bb46f588471ce355929d9709c945c60ddc62776 Mon Sep 17 00:00:00 2001 From: Aidan Fitzgerald Date: Fri, 8 Mar 2019 02:32:00 -0500 Subject: [PATCH] Set DOMAIN to 'box', remove port --- 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 ddae9b7e1..6a34630c5 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 = localhost -ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s{{ gitea_url }}/ +DOMAIN = box +ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s{{ gitea_url }}/ ; 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 }}