summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_index_handler.h
blob: d077feb4ce0480c5d78c8956d94d8237a8f93bf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_
#define _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_array.h>
#include <ngx_http.h>


#define NGX_HTTP_INDEX   "index.html"


typedef struct {
    ngx_array_t  *indices;
    size_t        max_index_len;
    int           test_dir;
} ngx_http_index_conf_t;


extern ngx_module_t  ngx_http_index_module;


#endif /* _NGX_HTTP_INDEX_HANDLER_H_INCLUDED_ */