Anyone configured authentication on nginx?
Hello, Has anyone configured external authentication on nginx and if so could you please share your configuration? Thanks, Joe
Joe, I think all you have to do is set up auth in nginx (I use the http auth PAM module in Linux from http://web.iti.upv.es/~sto/nginx/ configured based on the accompanied documentation) and then tell it to set the REMOTE_USER variable when it proxies for galaxy with (in location / or where appropriate in your nginx config): proxy_set_header REMOTE_USER $remote_user; And then turn on remote auth in galaxy: use_remote_user = True remote_user_maildomain = myhost.domain Derek Gottlieb HPC Systems Analyst, CSC Alabama Supercomputer Center 686 Discovery Dr., Huntsville, AL 35806 High Performance Computing | p: +1-256-971-7416 | f: +1-256-971-7491 | dgottlieb@asc.edu | www.asc.edu On Apr 1, 2011, at 11:20 AM, Joe Cruz wrote:
Hello,
Has anyone configured external authentication on nginx and if so could you please share your configuration?
Thanks,
Joe
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___________________________________________________________ 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:
participants (2)
-
Derek Gottlieb
-
Joe Cruz