aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-10-12 07:20:20 +0000
committerRuslan Ermilov <ru@nginx.com>2011-10-12 07:20:20 +0000
commitc8fdda4c2ff95422ffc1fbe39cb16f847992ecd0 (patch)
tree30da993d944657614b358680e72379bd3b99be0f /src/http/ngx_http_core_module.c
parentb8203e46a05ceb816e1c4f34479b2aaee0dfb34c (diff)
downloadnginx-c8fdda4c2ff95422ffc1fbe39cb16f847992ecd0.tar.gz
nginx-c8fdda4c2ff95422ffc1fbe39cb16f847992ecd0.zip
Removed old warning that suggested to use "server_name_in_redirect off"
(now the default) in place of no longer supported "server_name *".
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 2bf6a19a7..f500c5dec 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3839,13 +3839,6 @@ ngx_http_core_server_name(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
&value[i]);
}
- if (value[i].len == 1 && ch == '*') {
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "\"server_name *\" is unsupported, use "
- "\"server_name_in_redirect off\" instead");
- return NGX_CONF_ERROR;
- }
-
sn = ngx_array_push(&cscf->server_names);
if (sn == NULL) {
return NGX_CONF_ERROR;