Rancher ingress annotations does not work

I have been rancher for 3 months or so now. I have got my ingresses working and I am using traefik and the ingresses together with lets encrypt.

However I have been looking at using annotations so i can initiate rules. Just as a test I tried adding in basic auth with these values:

|nginx.ingress.kubernetes.io/auth-realm|kibana|
|nginx.ingress.kubernetes.io/auth-secret|kibana-auth|
|nginx.ingress.kubernetes.io/auth-type|basic|

and created a kibana-auth with a auth-file syntax .

with auth as a keyword and value.

But when i save the ingress and nginx reloads it it does not work. What am i missing? Any help or guidance to a document most appreciated