add stor1/stor2/virt, and support load balancing directly from these nodes

This commit is contained in:
2023-06-20 18:37:11 -04:00
parent a2c35813b7
commit 2028fd6c7d
3 changed files with 45 additions and 2 deletions

View File

@ -2,8 +2,13 @@
proxy_package_list : ['nginx','git']
proxy_site_conf_dir : /etc/nginx/conf.d
proxy_site_file : "{{ proxy_site_conf_dir }}/zen_proxy.conf"
proxy_site_version : 1.9
proxy_site_revision : 22317-1
proxy_site_version : 1.93
proxy_site_revision : 23620-2
# undefined default: round robin
# options: least_conn|ip_hash
proxy_load_balance_type: ip_hash
proxy_site_log_path : /proxy_logs

View File

@ -196,6 +196,28 @@ proxy_sites:
port : 9443
stor1.thezengarden.net:
proto : http
dest : zg-stor1.thezengarden.net
port : 80
stor2.thezengarden.net:
proto : http
dest : zg-stor2.thezengarden.net
port : 80
virt.thezengarden.net:
proto: https
dest: proxmox_nodes
upstream_servers:
- zg-vm1.thezengarden.net:8006
- zg-vm2.thezengarden.net:8006
- zg-vm3.thezengarden.net:8006
- zg-vm4.thezengarden.net:8006
beta.chris-hammer.com:
proto : http
dest : "{{ proxy_default_host }}"