set content-type for try_files' choice
Igor Sysoev
13 years ago
1194 | 1194 | |
1195 | 1195 | p = ngx_copy(r->uri.data, clcf->name.data, alias); |
1196 | 1196 | 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; | |
1197 | 1202 | } |
1198 | 1203 | |
1199 | 1204 | ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |