From 10fa1168a3aae191b9ba80112c45256c14bb6fab Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 20 Nov 2022 21:35:37 -0500 Subject: [PATCH] gitea: use https in urls --- roles/services/gitea/templates/gitea_app.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/services/gitea/templates/gitea_app.ini.j2 b/roles/services/gitea/templates/gitea_app.ini.j2 index 4af3c5c..d7c5e18 100644 --- a/roles/services/gitea/templates/gitea_app.ini.j2 +++ b/roles/services/gitea/templates/gitea_app.ini.j2 @@ -268,7 +268,7 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd ; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'. PROTOCOL = http DOMAIN = {{ server_blocks.gitea.domain }} -ROOT_URL = http://{{ server_blocks.gitea.domain }}{{ nginx_services.gitea.path }} +ROOT_URL = https://{{ server_blocks.gitea.domain }}{{ nginx_services.gitea.path }} ; 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.