diff src/http/ngx_http_request.c @ 331:f168a88e93f7

nginx-0.0.3-2004-05-04-21:56:58 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 04 May 2004 17:56:58 +0000
parents fb4dfb2ac0fc
children d4241d7787fe
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -871,6 +871,7 @@ static ngx_int_t ngx_http_process_reques
             {
                 r->srv_conf = name[i].core_srv_conf->ctx->srv_conf;
                 r->loc_conf = name[i].core_srv_conf->ctx->loc_conf;
+                r->server_name = &name[i].name;
 
                 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
                 r->connection->log->file = clcf->err_log->file;