Hi,
When I enabled 'require_login = True' on a galaxy instance running with NGINX+uWSGI I receive internal server error pages due to a Key error for
File 'lib/galaxy/web/framework/base.py', line 356 in path
return self.environ['SCRIPT_NAME'] + self.environ['PATH_INFO']
KeyError: 'SCRIPT_NAME'
Works fine with 'require_login = False' - I'm not sure why require_login makes it take a code path which needs SCRIPT_NAME.
Anyway - the addition of...
uwsgi_param SCRIPT_NAME '';
... to the nginx.conf prevents this error. Should I try and add this to the uWSGI config snippets on the wiki?
Thanks,
--David Trudgian Ph.D.,Computational ScientistUT Southwestern BioHPC
--David Trudgian Ph.D.,Computational ScientistUT Southwestern BioHPC
UT Southwestern
Medical Center
The future of medicine, today.
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at:
http://galaxyproject.org/search/mailinglists/