Hi all ,
I'm trying to setup a common entry point for my proxmox cluster.
I have that working config:
routers:
proxmox-https:
entryPoints:
- "https"
rule: "Host(`proxmox.mynetwork.net`)"
middlewares:
- ALLOW@docker
tls:
options: SECURE@file
service: proxmox
services:
proxmox:
loadBalancer:
servers:
- url: "https://10.0.0.1:8006"
#- url: "https://10.0.0.2:8006"
healthCheck:
path: "/#v1:0:18:4:::::::"
interval: "10s"
timeout: "3s"
passHostHeader: true
serversTransport: "pve"
serversTransports:
pve:
insecureSkipVerify: true
tcp:
routers:
vnc:
rule: HostSNI(`*`)
entrypoints: vnc
tls: false
service: vnc
services:
vnc:
loadbalancer:
servers:
- address: "10.0.0.1:5900"
#- address: "10.0.0.2:5900"
It works with a single proxmox host ( 10.0.0.1 ) but if I enable the second one I don't know how to force to "LINK" the http and the tcp services so when the client is connected to http 10.0.0.1 it should be connected to the same tcp vnc ip.
Is there a way ?
Thank's.