Hello @rtribotte,
Thank you very much for your answer. I have adjusted my configuration according to your suggestions. It makes sense what you said. I think it should be right now?
http:
routers:
proxmox-https-router:
rule: "Host(`proxmox.home.xxxxx.yyy`)"
service: my-proxmox
entryPoints:
- https
tls:
certResolver: http
# middlewares:
# - basicAuth
proxmox-http-router:
rule: "Host(`proxmox.home.xxxxx.yyy`)"
service: my-proxmox
entryPoints:
- http
middlewares:
- redirect
proxmox-spice-router:
rule: "Host(`proxmox.home.xxxxx.yyy`) && Method(`CONNECT`)"
service: spice-proxmox
entryPoints:
- http
middlewares:
- redirect
services:
my-proxmox:
loadBalancer:
servers:
- url: https://192.168.1.97:8006
middlewares:
https_redirect:
redirectScheme:
scheme: https
permanent: true
tcp:
services:
spice-proxmox:
loadbalancer:
servers:
- address: 192.168.1.97:3128