Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 2503:7b0711452b34
set content-type for try_files' choice
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 14 Feb 2009 17:26:26 +0000 |
parents | 9081bbdccda1 |
children | 2e91aecb9e57 |
comparison
equal
deleted
inserted
replaced
2502:23706c19fab8 | 2503:7b0711452b34 |
---|---|
1193 return NGX_OK; | 1193 return NGX_OK; |
1194 } | 1194 } |
1195 | 1195 |
1196 p = ngx_copy(r->uri.data, clcf->name.data, alias); | 1196 p = ngx_copy(r->uri.data, clcf->name.data, alias); |
1197 ngx_memcpy(p, name, path.len); | 1197 ngx_memcpy(p, name, path.len); |
1198 } | |
1199 | |
1200 if (ngx_http_set_exten(r) != NGX_OK) { | |
1201 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | |
1202 return NGX_OK; | |
1198 } | 1203 } |
1199 | 1204 |
1200 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1205 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
1201 "try file uri: \"%V\"", &r->uri); | 1206 "try file uri: \"%V\"", &r->uri); |
1202 | 1207 |