Here is an easy way to secure a proxmox interface with proper https. Install caddy.

Edit the Caddyfile (`/etc/caddy/Caddyfile on Debian) as follow:

example.com {
        reverse_proxy localhost:8006 {
                transport http {
                        tls_insecure_skip_verify
                }
        }
}