How to configure Tesla http proxy in home assistant

I’m trying to configure http Tesla proxy for the new fleet api I can login using Tesla but when scanning the qr code to link the car using the app it’s shows error.
I’m using caddy for the proxy