From f14683aaacdc5c3268aef420abfde682e8de3a0e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 18 Jun 2018 19:22:21 -0500 Subject: [PATCH] git0: Set gitea_root_url The `gitea_root_url` variable is used to configure the root URL for Gitea, which is in turn used to generate HTTP/HTTPS "clone" links for Git repositories. If this value is not set, the default is used, which does not work since the application is behind a reverse proxy. --- host_vars/git0.pyrocufflink.blue.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/host_vars/git0.pyrocufflink.blue.yml b/host_vars/git0.pyrocufflink.blue.yml index 7da8326..3dd49cb 100644 --- a/host_vars/git0.pyrocufflink.blue.yml +++ b/host_vars/git0.pyrocufflink.blue.yml @@ -1,4 +1,5 @@ gitea_ssh_domain: git.pyrocufflink.blue +gitea_root_url: 'https://{{ gitea_ssh_domain }}/' apache_ssl_certificate: /var/lib/letsencrypt/live/{{ gitea_ssh_domain }}/fullchain.pem apache_ssl_certificate_key: /var/lib/letsencrypt/live/{{ gitea_ssh_domain }}/privkey.pem certbot_domains: