We have configured several separate proxmox clusters and we access them through our existing HAProxy load balancers.
Example configuration - this only allows access from certain IP addresses and handles directing to any server which is up and keeps pointing to that server for as long as possible using a sticky cookie:
This works really well, but we need to create a new subdomain for each cluster, for example
It looks like I can make this work for the main web interface. I haven't tried console access yet. The Android app definitely doesn't work with this.
Any chance of being able to support this type of access?
Example configuration - this only allows access from certain IP addresses and handles directing to any server which is up and keeps pointing to that server for as long as possible using a sticky cookie:
Code:
backend shared-lb00_proxmox-ssl
mode http
acl network_internal src 10.3.130.0/23
acl network_internal src 10.100.0.0/24
cookie Stick-Proxmox-all insert preserve dynamic
errorfile 403 /etc/haproxy/errors/internal_network.html.http
http-request allow if network_internal
http-request deny
option allbackups
option redispatch
server pve01.example.com:8006 10.7.35.101:8006 check ssl verify none
server pve02.example.com:8006 10.7.35.102:8006 check ssl verify none
server pve03.example.com:8006 10.7.35.103:8006 check ssl verify none
This works really well, but we need to create a new subdomain for each cluster, for example
cluster1.example.com
, cluster2.example.com
, etc. I wanted to see if there was a way to proxy each cluster through a subdomain, for example proxmox.example.com/cluster1
, proxmox.example.com/cluster2
.It looks like I can make this work for the main web interface. I haven't tried console access yet. The Android app definitely doesn't work with this.
Any chance of being able to support this type of access?