"Unable to connect to Home Assistant" via nginx reverse proxy

Looking everywhere and found this thread! Having same problem but don’t know how to apply the WebSocket custom header on Nginx Proxy Manager.
Please if someone could guide us