I'm one of the Phusion Passenger authors. For Phusion Passenger support,
please use the Phusion Passenger discussion forum, not the Nginx forum. It's
here: https://groups.google.com/forum/#!forum/phusion-passenger
This is a compilation problem due to some old code which tries to support
Nginx
thanks for the reply and fix :)
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249586,249595#msg-249595
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Anyone experience this problem ? I have Nginx 1.5.13 working fine with
Phusion Passenger 4.0.37 source compile. But trying to update Nginx from
1.5.13 to 1.7.0 fails at make stage. I tried both Phusion Passenger 4.0.37
and 4.0.41 and it fails.
Working Nginx 1.5.13 configuration
nginx -V
nginx
grep -C10 zero_in_uri
/usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.41/ext/nginx/StaticContentHandler.c
if (!(r-method (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) {
return NGX_HTTP_NOT_ALLOWED;
}
if (r-uri.data[r-uri.len - 1] == '/') {
return NGX_DECLINED;
}