configure proxy to prefer hostport and use nodeport as backup only
This commit is contained in:
parent
c6f818f36c
commit
60377daadd
|
@ -23,7 +23,13 @@ haproxy:
|
|||
- grafana.badjware.dev
|
||||
- jellyfin.badjware.dev
|
||||
backend:
|
||||
- server: 192.168.20.20:8443
|
||||
- server: 192.168.20.21:8443
|
||||
- server: 192.168.20.22:8443
|
||||
- server: 192.168.20.23:8443
|
||||
- server: 192.168.20.24:8443
|
||||
- server: 192.168.20.20
|
||||
extra_param: backup
|
||||
- server: 192.168.20.21
|
||||
extra_param: backup
|
||||
- server: 192.168.20.22
|
||||
|
@ -39,7 +45,13 @@ haproxy:
|
|||
- prometheus.badjware.dev
|
||||
- deluge.badjware.dev
|
||||
backend:
|
||||
- server: 192.168.20.20:8443
|
||||
- server: 192.168.20.21:8443
|
||||
- server: 192.168.20.22:8443
|
||||
- server: 192.168.20.23:8443
|
||||
- server: 192.168.20.24:8443
|
||||
- server: 192.168.20.20
|
||||
extra_param: backup
|
||||
- server: 192.168.20.21
|
||||
extra_param: backup
|
||||
- server: 192.168.20.22
|
||||
|
@ -71,7 +83,13 @@ haproxy:
|
|||
tcp:
|
||||
- frontend: "30022" # gitea-ssh
|
||||
backend:
|
||||
- server: 192.168.20.20:2222
|
||||
- server: 192.168.20.21:2222
|
||||
- server: 192.168.20.22:2222
|
||||
- server: 192.168.20.23:2222
|
||||
- server: 192.168.20.24:2222
|
||||
- server: 192.168.20.20:30022
|
||||
extra_param: backup
|
||||
- server: 192.168.20.21:30022
|
||||
extra_param: backup
|
||||
- server: 192.168.20.22:30022
|
||||
|
|
Loading…
Reference in New Issue