Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 695d2e5c0..20f124c75 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -8,7 +8,7 @@
typedef struct {
- u_int32_t addr;
+ in_addr_t addr;
int port;
int family;
int flags; /* 'default' */
@@ -65,7 +65,7 @@ typedef struct {
typedef struct {
- u_int32_t addr;
+ in_addr_t addr;
ngx_array_t names; /* array of ngx_http_server_name_t */
ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf
for this address:port */
@@ -128,6 +128,10 @@ typedef struct {
int msie_padding; /* msie_padding */
ngx_array_t *error_pages; /* error_page */
+ ngx_regex_t *regex;
+
+ unsigned exact_match:1;
+
unsigned auto_redirect:1;
ngx_log_t *err_log;