<div dir="ltr">Thanks, guys for reply.<div>I am * running Rails in Nginx. And I have configured nginx for shibboleth too. My Shib SP is running with Nginx and Rails is running behind Nginx. Should I share my nginx conf file to verify to check if its correctly configured? asking because I doubt there could be problem nginx settings that is not letting varibles to come into app?</div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, Nov 22, 2018 at 4:07 AM Peter Schober <<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Peter Schober <<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>> [2018-11-21 23:29]:<br>
> As for restructuring, there are many possibilities, e.g.:<br>
> <br>
> * Run Rails from httpd and get rid of Nginx completely<br>
>   (mod_rails aka Phusion Passenger)<br>
<br>
>From the three given alternatives to using HTTP Request Headers this<br>
is probably the easiest one to deploy, I think.<br>
<br>
> * Run Rails within an application server such as UWSGI and connect<br>
>   httpd to that via mod_proxy_uwsgi.<br>
<br>
I should be more explicit in that you'd remove Nginx here, too, but<br>
instead add in a uwsgi server (which is a great piece of software but<br>
has a higher learning curve in itself than anything you've tried here<br>
so far, I fear).<br>
<br>
> * Try to get the Shib SP running with Nginx and keep Rails behind<br>
>   Nginx.<br>
<br>
And in this variant you'd remove Apache httpd completely.<br>
But the Shibboleth integration with Nginx is difficult and possibly<br>
not well implemented.<br>
(And likely you'll be proxying from Nginx to another web server via<br>
HTTP anyway here, too? So you'd probably still be HTTP proxying and<br>
couldn't make use of environment variables.)<br>
<br>
Just to be a bit more clear on the implications.<br>
-peter<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_6340091012651957537gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font color="#cc0000">Thanks</font></div><div><font color="#cc0000">Rohit Shinde</font></div><div><font color="#cc0000"><a href="http://www.venturit.com" target="_blank">www.venturit.com</a></font></div><div><font color="#cc0000"><a href="mailto:rohit@venturit.com" target="_blank">rohit@venturit.com</a></font></div><div><font color="#cc0000">+919762688064</font></div><div><i><br></i></div><div dir="ltr"><font color="#a64d79"><i>CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.</i></font></div></div></div></div></div>