Add configuration settings to disable certain features in nginx to
[packages.git] / net / nginx / Config.in
1 #
2 # Copyright (C) 2010-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 menu "Configuration"
9         depends on PACKAGE_nginx
10
11 config NGINX_STUB_STATUS
12         bool
13         prompt "Enable stub status module"
14         default n
15         help
16                 Enable the stub status module which gives some status from the server.
17
18 config NGINX_FLV
19         bool
20         prompt "Enable FLV module"
21         default n
22         help
23                 Provides the ability to seek within FLV (Flash) files using time-based offsets.
24
25 config NGINX_SSL
26         bool
27         prompt "Enable SSL module"
28         default n
29         help
30                 Enable HTTPS/SSL support.
31
32 config NGINX_DAV
33         bool
34         prompt "Enable WebDAV module"
35         default n
36         help
37                 Enable the HTTP and WebDAV methods PUT, DELETE, MKCOL, COPY and MOVE.
38
39 config NGINX_MODULE_LUA
40         bool
41         prompt "Enable LUA module"
42         default n
43         help
44                 Enable support for LUA scripts.
45
46         menu "Disable features"
47
48         config NGINX_DISABLE_PCRE
49               bool
50               prompt "Disable PCRE library usage"
51               default n
52
53         config NGINX_DISABLE_HTTP_CACHE
54               depends on NGINX_SSL=y
55               bool
56               prompt "Disable HTTP cache"
57               default y
58
59         config NGINX_DISABLE_HTTP_CHARSET_MODULE
60               bool
61               prompt "Disable HTTP charset module"
62               default n
63
64         config NGINX_DISABLE_HTTP_GZIP_MODULE
65               bool
66               prompt "Disable HTTP gzip module"
67               default n
68
69         config NGINX_DISABLE_HTTP_SSI_MODULE
70               bool
71               prompt "Disable HTTP ssi module"
72               default n
73
74         config NGINX_DISABLE_HTTP_USERID_MODULE
75               bool
76               prompt "Disable HTTP userid module"
77               default n
78
79         config NGINX_DISABLE_HTTP_ACCESS_MODULE
80               bool
81               prompt "Disable HTTP access module"
82               default n
83
84         config NGINX_DISABLE_HTTP_AUTH_BASIC_MODULE
85               bool
86               prompt "Disable HTTP auth basic"
87               default n
88
89         config NGINX_DISABLE_HTTP_AUTOINDEX_MODULE
90               bool
91               prompt "Disable HTTP autoindex module"
92               default n
93
94         config NGINX_DISABLE_HTTP_GEO_MODULE
95               bool
96               prompt "Disable HTTP geo module"
97               default n
98
99         config NGINX_DISABLE_HTTP_MAP_MODULE
100               bool
101               prompt "Disable HTTP map module"
102               default n
103
104         config NGINX_DISABLE_HTTP_SPLIT_CLIENTS_MODULE
105               bool
106               prompt "Disable HTTP split clients"
107               default n
108
109         config NGINX_DISABLE_HTTP_REFERER_MODULE
110               bool
111               prompt "Disable HTTP referer module"
112               default n
113
114         config NGINX_DISABLE_HTTP_REWRITE_MODULE
115               bool
116               prompt "Disable HTTP rewrite module"
117               default n
118
119         config NGINX_DISABLE_HTTP_PROXY_MODULE
120               bool
121               prompt "Disable HTTP proxy module"
122               default n
123
124         config NGINX_DISABLE_HTTP_FASTCGI_MODULE
125               bool
126               prompt "Disable HTTP fastcgi module"
127               default n
128
129         config NGINX_DISABLE_HTTP_UWSGI_MODULE
130               bool
131               prompt "Disable HTTP uwsgi module"
132               default n
133
134         config NGINX_DISABLE_HTTP_SCGI_MODULE
135               bool
136               prompt "Disable HTTP scgi module"
137               default n
138
139         config NGINX_DISABLE_HTTP_MEMCACHED_MODULE
140               bool
141               prompt "Disable HTTP memcached module"
142               default n
143
144         config NGINX_DISABLE_HTTP_LIMIT_CONN_MODULE
145               bool
146               prompt "Disable HTTP limit conn"
147               default n
148
149         config NGINX_DISABLE_HTTP_LIMIT_REQ_MODULE
150               bool
151               prompt "Disable HTTP limit req"
152               default n
153
154         config NGINX_DISABLE_HTTP_EMPTY_GIF_MODULE
155               bool
156               prompt "Disable HTTP empty gif"
157               default n
158
159         config NGINX_DISABLE_HTTP_BROWSER_MODULE
160               bool
161               prompt "Disable HTTP browser module"
162               default n
163
164         config NGINX_DISABLE_HTTP_UPSTREAM_IP_HASH_MODULE
165               bool
166               prompt "Disable HTTP IP hash module"
167               default n
168
169         endmenu
170 endmenu