<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Mariano Martinez Peck" &lt;marianopeck@gmail.com&gt;<br><b>To: </b>glass@lists.gemtalksystems.com, "Seaside - general discussion" &lt;seaside@lists.squeakfoundation.org&gt;<br><b>Sent: </b>Wednesday, December 18, 2013 9:40:06 AM<br><b>Subject: </b>[Glass] [a bit offtopic] Redirect special seaside request to a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;different VM<br><br><div dir="ltr">Hi guys,&nbsp;<div><br></div><div>I have some special requests that I want to redirect to another Gem. What I did in seaside is to implement #updateUrl: and add some parameter for those cases I want to send it to another Gem.&nbsp;</div>
<div><br></div><div id="DWT611">Now, I don't know how to adapt nginx for such a thing. I am using FastCGI. So I need to check if such argument is present in the URL and if true, send it to another upstream. If not, use the normal upstream.&nbsp;</div></div></blockquote>Are you having trouble finding the parameter because you are using FastCGI? Or is the trouble purely an nginx question?<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div dir="ltr"><div></div>
<div><br></div><div>I have explained my problem here:&nbsp;<a href="http://serverfault.com/questions/561993/nginx-choose-upstream-depending-on-args" target="_blank">http://serverfault.com/questions/561993/nginx-choose-upstream-depending-on-args</a></div>
<div>but I didn't have any working answer.</div><div><br></div><div>Does any of you have an idea how could I do that?&nbsp;<br clear="all"><div><br></div><div>Thanks in advance,&nbsp;</div><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>

</div></div>
<br>_______________________________________________<br>Glass mailing list<br>Glass@lists.gemtalksystems.com<br>http://lists.gemtalksystems.com/mailman/listinfo/glass<br></blockquote><br></div></body></html>