aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index ad149f08c..9a8d62938 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -117,6 +117,9 @@ typedef struct {
*/
ngx_array_t locations;
+ unsigned regex_start:16;
+ unsigned wildcard:1;
+
/* array of the ngx_http_listen_t, "listen" directive */
ngx_array_t listen;
@@ -138,8 +141,6 @@ typedef struct {
ngx_flag_t optimize_server_names;
ngx_flag_t ignore_invalid_headers;
-
- ngx_uint_t wildcard; /* unsigned wildcard:1 */
} ngx_http_core_srv_conf_t;
@@ -210,6 +211,8 @@ struct ngx_http_core_loc_conf_s {
ngx_regex_t *regex;
#endif
+ unsigned regex_start:16;
+
unsigned noname:1; /* "if () {}" block */
unsigned exact_match:1;