aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_index_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.h')
-rw-r--r--src/http/modules/ngx_http_index_handler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_index_handler.h b/src/http/modules/ngx_http_index_handler.h
index 3dd6bd82c..3d2f6f00d 100644
--- a/src/http/modules/ngx_http_index_handler.h
+++ b/src/http/modules/ngx_http_index_handler.h
@@ -3,16 +3,16 @@
#include <ngx_config.h>
-#include <ngx_array.h>
+#include <ngx_core.h>
#include <ngx_http.h>
-#define NGX_HTTP_INDEX "index.html"
+#define NGX_HTTP_DEFAULT_INDEX "index.html"
typedef struct {
- ngx_array_t *indices;
- size_t max_index_len;
+ ngx_array_t indices;
+ size_t max_index_len;
} ngx_http_index_conf_t;