I am using nginx 1.4.1 as reverse proxy for tomcat 7.0.33. Using LDAP for user authentication. Everything works fine except one critical thing: the authenticated user ID does not get to tomcat. I see it in the Tomcat's access log: it shows "-" where the ID is supposed to be. I tried to set various header elements in nginx.conf, see below a fragment of it (I experimented with them, tuby lilyevsky - Nginx Mailing List - English