Hi, I'm having a problem authenticating with TG 2.3.11 behind Nginx. I have quickstarted an app that I named testweb, followed by
gearbox setup-app and gearbox serve (host: localhost, port: 9991) When I try to access app through nginx (URL is https://hostname/testweb) I'm getting TG start page and links on that page work OK (https://hostname/testweb/about, https://hostname/testweb/data, https://hostname/testweb/environ). I I try to get page that requires authentication like admin (https://hostname/testweb/admin) I get prompted to enter username and password but when I press login button I get error 404 message and the URL is https://hostname/testweb/login_handler?__logins=0&came_from=%2Ftestweb%2F%2Fadmin preventing me from using admin interface. What is strange is that if I access app using http://localhost:9991/testweb/admin I am able to authenticate myself. Tried playing with tg.configuration.auth.setup.setup_auth but environ is not available and changing login_handler from '/login_handler' to '/testweb/login_handler' did not help either. Any suggestions will be most welcome. With Best Regards Ervin -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

