Kibana logout not working when using nginx reverse proxy

X-pack Kibana Logout redirection talks about redirection of url. But @Oleg can throw more light on this..

Thanks
Rashmi