comparison src/http/ngx_http_core_module.h @ 195:8dee38ea9117

nginx-0.0.1-2003-11-25-23:44:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 25 Nov 2003 20:44:56 +0000
parents 02a715e85df1
children 267ea1d98683
comparison
equal deleted inserted replaced
194:2357fa41738a 195:8dee38ea9117
6 #include <ngx_array.h> 6 #include <ngx_array.h>
7 #include <ngx_http.h> 7 #include <ngx_http.h>
8 8
9 9
10 typedef struct { 10 typedef struct {
11 u_int32_t addr; 11 in_addr_t addr;
12 int port; 12 int port;
13 int family; 13 int family;
14 int flags; /* 'default' */ 14 int flags; /* 'default' */
15 ngx_str_t file_name; 15 ngx_str_t file_name;
16 int line; 16 int line;
63 ngx_array_t addrs; /* array of ngx_http_in_addr_t */ 63 ngx_array_t addrs; /* array of ngx_http_in_addr_t */
64 } ngx_http_in_port_t; 64 } ngx_http_in_port_t;
65 65
66 66
67 typedef struct { 67 typedef struct {
68 u_int32_t addr; 68 in_addr_t addr;
69 ngx_array_t names; /* array of ngx_http_server_name_t */ 69 ngx_array_t names; /* array of ngx_http_server_name_t */
70 ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf 70 ngx_http_core_srv_conf_t *core_srv_conf; /* default server conf
71 for this address:port */ 71 for this address:port */
72 int flags; 72 int flags;
73 } ngx_http_in_addr_t; 73 } ngx_http_in_addr_t;
126 ngx_msec_t lingering_timeout; /* lingering_timeout */ 126 ngx_msec_t lingering_timeout; /* lingering_timeout */
127 127
128 int msie_padding; /* msie_padding */ 128 int msie_padding; /* msie_padding */
129 ngx_array_t *error_pages; /* error_page */ 129 ngx_array_t *error_pages; /* error_page */
130 130
131 ngx_regex_t *regex;
132
133 unsigned exact_match:1;
134
131 unsigned auto_redirect:1; 135 unsigned auto_redirect:1;
132 136
133 ngx_log_t *err_log; 137 ngx_log_t *err_log;
134 } ngx_http_core_loc_conf_t; 138 } ngx_http_core_loc_conf_t;
135 139