From eac790014f305bc872cf7fa5d5993330c8fe8873 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 29 Nov 2019 13:17:13 -0600 Subject: [PATCH] Configure gitea for production mode --- roles/gitea/defaults/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/gitea/defaults/main.yaml b/roles/gitea/defaults/main.yaml index 479a6e9..a5c8e77 100644 --- a/roles/gitea/defaults/main.yaml +++ b/roles/gitea/defaults/main.yaml @@ -23,6 +23,8 @@ gitea_home_path: /home/git gitea_port: 3000 gitea_config: + DEFAULT: + run_mode: prod server: domain: "{{ gitea_domain }}" root_url: "{{ gitea_ssl_enabled | ternary('https', 'http') }}://{{ gitea_domain }}/"