From fd172ddf7c8630ab02c6c3a6b29c6b47e7967532 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 13 Jun 2018 22:14:00 -0500 Subject: [PATCH] roles/dch-proxy: Redirect git.p.n to Gitea The name *git.pyrocufflink.net* now proxies to Gitea instead of CGit. --- roles/dch-proxy/templates/frontend-main.haproxy.cfg.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/dch-proxy/templates/frontend-main.haproxy.cfg.j2 b/roles/dch-proxy/templates/frontend-main.haproxy.cfg.j2 index 8ed785f..3dfbafc 100644 --- a/roles/dch-proxy/templates/frontend-main.haproxy.cfg.j2 +++ b/roles/dch-proxy/templates/frontend-main.haproxy.cfg.j2 @@ -2,6 +2,7 @@ frontend main bind :::80 use_backend gitea if { hdr(host) -i git.pyrocufflink.blue } + use_backend gitea if { hdr(host) -i git.pyrocufflink.net } default_backend myala @@ -14,4 +15,5 @@ frontend main-tls tcp-request content accept if { req_ssl_hello_type 1 } use_backend gitea-tls if { req_ssl_sni -i git.pyrocufflink.blue } + use_backend gitea-tls if { req_ssl_sni -i git.pyrocufflink.net } default_backend myala-tls