Hello, I have run an application behind a nginx reverse proxy and I can't make it to work a) if I access this application using https://1.1.1.1:443 it works (certificate warning)b) if I access this application using https://myapp.mydomain.org, I get access to the login page location ^~ / { proxy_pass https://1.1.1.1:443; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_hide_header X-Frame-Options; proxy_hide_header X-Content-Security-Policy; proxy_hide_header X-Content-Type-Options; proxy_hide_header X-WebKit-CSP; proxy_hide_header content-security-policy; proxy_hide_header x-xss-protection; proxy_set_header X-NginX-Proxy true; proxy_ssl_session_reuse off; } c) I log in in the page and after some time (2/3 seconds) the application logs me out When I log in directly case a) I notice that I have (firebug) CookieSaveStateCookie=root; APPSESSIONID=070ABC6AE433D2CAEDCFFB1E43074416; testcookieenabled Whereas when I log in in case c) I haveAPPSESSIONID=070ABC6AE433D2CAEDCFFB1E43074416; testcookieenabled
So I feel there's a problem with the session or something like that.PS: There is only one backend server and I can't run plain http (disable https) Does anyone has an idea ?
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
