diff src/http/ngx_http_core_module.c @ 6940:39ff6939266e

Unified error messages about duplicate directives.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 22 Mar 2017 22:49:52 +0300
parents 8b7fd958c59f
children 6e20a6479325
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -4529,7 +4529,7 @@ ngx_http_core_limit_except(ngx_conf_t *c
     ngx_http_core_loc_conf_t  *clcf;
 
     if (pclcf->limit_except) {
-        return "duplicate";
+        return "is duplicate";
     }
 
     pclcf->limit_except = 0xffffffff;