roles/dch-proxy: Switch default backend to web0.p.b
The public-facing websites are now hosted by *web0.pyrocufflink.blue* and *myala.pyrocufflink.jazz* has been decommissioned.
This commit is contained in:
@@ -32,3 +32,10 @@
|
|||||||
dest=/etc/haproxy/70-backend-openvpn.cfg
|
dest=/etc/haproxy/70-backend-openvpn.cfg
|
||||||
mode=0644
|
mode=0644
|
||||||
notify: reload haproxy
|
notify: reload haproxy
|
||||||
|
|
||||||
|
- name: ensure websites haproxy backend is configured
|
||||||
|
template:
|
||||||
|
src=backend-websites.haproxy.cfg.j2
|
||||||
|
dest=/etc/haproxy/70-backend-websites.cfg
|
||||||
|
mode=0644
|
||||||
|
notify: reload haproxy
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
backend web
|
||||||
|
server web0 web0.pyrocufflink.blue:80 check
|
||||||
|
|
||||||
|
|
||||||
|
backend web-tls
|
||||||
|
mode tcp
|
||||||
|
server web web0.pyrocufflink.blue:443 check
|
||||||
@@ -5,7 +5,7 @@ frontend main
|
|||||||
use_backend gitea if { hdr(host) -i git.pyrocufflink.net }
|
use_backend gitea if { hdr(host) -i git.pyrocufflink.net }
|
||||||
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.blue }
|
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.blue }
|
||||||
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.net }
|
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.net }
|
||||||
default_backend myala
|
default_backend web
|
||||||
|
|
||||||
|
|
||||||
frontend main-tls
|
frontend main-tls
|
||||||
@@ -20,5 +20,5 @@ frontend main-tls
|
|||||||
use_backend gitea-tls if { req_ssl_sni -i git.pyrocufflink.net }
|
use_backend gitea-tls if { req_ssl_sni -i git.pyrocufflink.net }
|
||||||
use_backend jenkins-tls if { req_ssl_sni -i jenkins.pyrocufflink.blue }
|
use_backend jenkins-tls if { req_ssl_sni -i jenkins.pyrocufflink.blue }
|
||||||
use_backend jenkins-tls if { req_ssl_sni -i jenkins.pyrocufflink.net }
|
use_backend jenkins-tls if { req_ssl_sni -i jenkins.pyrocufflink.net }
|
||||||
use_backend myala-tls if { req_ssl_sni -i darkchestofwonders.us }
|
use_backend web-tls if { req_ssl_sni -i darkchestofwonders.us }
|
||||||
default_backend openvpn
|
default_backend openvpn
|
||||||
|
|||||||
Reference in New Issue
Block a user