Welcome! Log In Create A New Profile

Advanced

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

April 25, 2014 01:17AM
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;
}

#if (PASSENGER_NGINX_MINOR_VERSION == 8 && PASSENGER_NGINX_MICRO_VERSION < 38) || \
(PASSENGER_NGINX_MINOR_VERSION == 7 && PASSENGER_NGINX_MICRO_VERSION < 66)
if (r->zero_in_uri) {
return NGX_DECLINED;
}
#endif

log = r->connection->log;

ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0,
"http filename: \"%s\"", filename->data);

clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
Subject Author Posted

Nginx 1.7.0 failed make with Phusion Passenger ?

George April 25, 2014 01:03AM

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

George April 25, 2014 01:17AM

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

George April 25, 2014 01:34AM

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

FooBarWidget April 25, 2014 03:59AM

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

George April 25, 2014 04:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready