Eric,

think I came across an issue with the parser in unicorn, with a request
(due to 2 layers of nginx proxying) coming across with both a
X_FORWARDED_PROTO and a X-Forwarded-Proto header. From the socket (in
HttpRequest) - we get:

  X_FORWARDED_PROTO: http
  X-Forwarded-Proto: https

which is parsed to 

  HTTP_X_FORWARDED_PROTO"=>"http,https

There was a passenger ticket that describes that from nginx's point of
view - X-Forwarded-Proto is the "correct" form. 

-- 
/skaar

sk...@waste.org
where in the W.A.S.T.E is the wisdom
s_u_b_s_t_r_u_c_t_i_o_n
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to