Jenkins jnlp doesn't pass through nginx ingress

Hi,
I don’t manage to add external node to my Jenkins instance running as workflow under rancher 2.
I expose Jenkins UI and JNLP (50000) as L7 ingress, each to separate hostname. UI works well, and JNLP is visible well through http. However, when I try to add new slave node, I get ConnectionRefusalException: Server didn't accept the handshake: HTTP/1.1 400 Bad Request error.
Please advise.