Klaus Demo nginx / b17bf52
set content-type for try_files' choice Igor Sysoev 13 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11941194
11951195 p = ngx_copy(r->uri.data, clcf->name.data, alias);
11961196 ngx_memcpy(p, name, path.len);
1197 }
1198
1199 if (ngx_http_set_exten(r) != NGX_OK) {
1200 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
1201 return NGX_OK;
11971202 }
11981203
11991204 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,