roles/dch-proxy: Redirect git.p.n to Gitea
The name *git.pyrocufflink.net* now proxies to Gitea instead of CGit.
This commit is contained in:
@@ -2,6 +2,7 @@ frontend main
|
|||||||
bind :::80
|
bind :::80
|
||||||
|
|
||||||
use_backend gitea if { hdr(host) -i git.pyrocufflink.blue }
|
use_backend gitea if { hdr(host) -i git.pyrocufflink.blue }
|
||||||
|
use_backend gitea if { hdr(host) -i git.pyrocufflink.net }
|
||||||
default_backend myala
|
default_backend myala
|
||||||
|
|
||||||
|
|
||||||
@@ -14,4 +15,5 @@ frontend main-tls
|
|||||||
tcp-request content accept if { req_ssl_hello_type 1 }
|
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.blue }
|
||||||
|
use_backend gitea-tls if { req_ssl_sni -i git.pyrocufflink.net }
|
||||||
default_backend myala-tls
|
default_backend myala-tls
|
||||||
|
|||||||
Reference in New Issue
Block a user