summaryrefslogtreecommitdiff
path: root/src/core/ngx_unix_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_unix_domain.c')
-rw-r--r--src/core/ngx_unix_domain.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/ngx_unix_domain.c b/src/core/ngx_unix_domain.c
index 097d111c4..12ffaecdb 100644
--- a/src/core/ngx_unix_domain.c
+++ b/src/core/ngx_unix_domain.c
@@ -34,13 +34,6 @@ ngx_unix_upstream_parse(ngx_conf_t *cf, ngx_unix_domain_upstream_t *u)
break;
}
}
-
- if (u->uri.len == 0) {
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the unix domain upstream \"%V\" has no URI",
- &u->name);
- return NULL;
- }
}
if (len == 0) {