I have been working on proxying on all services running by adding another frontend for additional HTTP headers. The thing is, DNS mapping doesn't seem to work:
frontend proxmox
# proxmox
bind 0.0.0.0:8006 ssl crt /certs/somedomain.com.pem
mode http
option http-server-close
http-request set-header X-Forwarded-For %[src]
http-request set-header X-Real-IP %[src]
http-request add-header X-Forwarded-Proto https if { ssl_fc }
http-request add-header X-Forwarded-Proto http if !{ ssl_fc }
acl ACL_proxmox1.dev.somedomain.com hdr(host) -i proxmox1.dev.somedomain.com
use_backend service.proxmox1.dev.somedomain.com if ACL_proxmox1.dev.somedomain.com
acl ACL_proxmoxtest1.dev.somedomain.com hdr(host) -i proxmoxtest1.dev.somedomain.com
use_backend service.proxmoxtest1.dev.somedomain.com if ACL_proxmoxtest1.dev.somedomain.com
default_backend service.proxmox1.dev.somedomain.com
timeout client 65000
backend service.proxmox1.dev.somedomain.com
timeout server 65000
stick-table type ip size 200k expire 60m
stick on src
server proxmox 10.100.100.100:8006 check ssl verify none
backend service.proxmoxtest.dev.somedomain.com
timeout server 65000
stick-table type ip size 200k expire 60m
stick on src
server proxmox 10.100.100.181:8006 check ssl verify none
Admittedly, am not super familiar with the dynamics of the headers and 'stick' but doesn't seem like they would override the ACL for host name mapping.
Any ideas welcome. Thank you in advance.