diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-11-07 13:39:53 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-11-07 13:39:53 +0000 |
| commit | c2378f80289ead8157c63ac6216836bab6e4294b (patch) | |
| tree | dd8b8a62c7a4ec8c5207a3f83d463d9ba86e62e8 /src/http/ngx_http_core_module.c | |
| parent | 042aaba551f42c6e1af0ce6f3ab1681b88268f40 (diff) | |
| download | nginx-c2378f80289ead8157c63ac6216836bab6e4294b.tar.gz nginx-c2378f80289ead8157c63ac6216836bab6e4294b.tar.bz2 | |
r1254, r1416, r1493 merge:
the "www.example.*" wildcard hash support
Diffstat (limited to 'src/http/ngx_http_core_module.c')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0576dc46c..1ef1a6c16 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2725,7 +2725,7 @@ ngx_http_core_server_name(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ch = value[1].data[0]; if (cscf->server_name.data == NULL && value[1].len) { - if (ch == '*') { + if (ngx_strchr(value[1].data, '*')) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "first server name \"%V\" must not be wildcard", &value[1]); |
