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, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 9fc16f86a..7bd7eeaa1 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -100,6 +100,12 @@ typedef struct {
typedef struct {
+ int code;
+ ngx_str_t uri;
+} ngx_http_err_page_t;
+
+
+typedef struct {
ngx_str_t name; /* location name */
void **loc_conf ; /* pointer to the modules' loc_conf */
@@ -120,6 +126,7 @@ typedef struct {
ngx_msec_t lingering_timeout; /* lingering_timeout */
int msie_padding; /* msie_padding */
+ ngx_array_t *error_pages; /* error_page */
ngx_log_t *err_log;
} ngx_http_core_loc_conf_t;