Nginx proxy config - websocket connections get 403

Did you try “AllowCorsFrom”: “https://mydomain.tld”?

ie full URL including scheme passed in the origin header automatically by nginx.