roles/dch-proxy: Configure proxy for Nextcloud
This commit adds front-end and back-end configuration for HAProxy to proxy HTTP/HTTPS for *nextcloud.pyrocufflink.net*/*nextcloud.pyrocufflink.blue* to *cloud0.pyrocufflink.blue*.jenkins-master
parent
b09bf84a3b
commit
2b49c5a02e
|
@ -0,0 +1,7 @@
|
||||||
|
backend nextcloud
|
||||||
|
server nextcloud cloud0.pyrocufflink.blue:80 check
|
||||||
|
|
||||||
|
|
||||||
|
backend nextcloud-tls
|
||||||
|
mode tcp
|
||||||
|
server nextcloud cloud0.pyrocufflink.blue:443 check
|
|
@ -7,6 +7,7 @@ frontend main
|
||||||
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.net }
|
use_backend jenkins if { hdr(host) -i jenkins.pyrocufflink.net }
|
||||||
use_backend bitwarden if { hdr(host) -i bitwarden.pyrocufflink.blue }
|
use_backend bitwarden if { hdr(host) -i bitwarden.pyrocufflink.blue }
|
||||||
use_backend bitwarden if { hdr(host) -i bitwarden.pyrocufflink.net }
|
use_backend bitwarden if { hdr(host) -i bitwarden.pyrocufflink.net }
|
||||||
|
use_backend nextcloud if { hdr(host) -i nextcloud.pyrocufflink.net }
|
||||||
default_backend web
|
default_backend web
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,6 +25,7 @@ frontend main-tls
|
||||||
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 bitwarden-tls if { req_ssl_sni -i bitwarden.pyrocufflink.blue }
|
use_backend bitwarden-tls if { req_ssl_sni -i bitwarden.pyrocufflink.blue }
|
||||||
use_backend bitwarden-tls if { req_ssl_sni -i bitwarden.pyrocufflink.net }
|
use_backend bitwarden-tls if { req_ssl_sni -i bitwarden.pyrocufflink.net }
|
||||||
|
use_backend nextcloud-tls if { req_ssl_sni -i nextcloud.pyrocufflink.net }
|
||||||
use_backend web-tls if { req_ssl_sni -i darkchestofwonders.us }
|
use_backend web-tls if { req_ssl_sni -i darkchestofwonders.us }
|
||||||
use_backend web-tls if { req_ssl_sni -i pyrocufflink.net }
|
use_backend web-tls if { req_ssl_sni -i pyrocufflink.net }
|
||||||
default_backend openvpn
|
default_backend openvpn
|
||||||
|
|
Loading…
Reference in New Issue