xref: /OK3568_Linux_fs/buildroot/package/nginx/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1menuconfig BR2_PACKAGE_NGINX
2	bool "nginx"
3	depends on BR2_USE_MMU # fork()
4	select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3
5	help
6	  nginx is an HTTP and reverse proxy server, as well as a mail
7	  proxy server.
8
9	  http://nginx.org/
10
11if BR2_PACKAGE_NGINX
12
13config BR2_PACKAGE_NGINX_FILE_AIO
14	bool "file AIO support"
15	# Does not build, because nginx hardcodes using SYS_eventfd,
16	# but it's available on neither AArch64 nor ARC where only
17	# eventfd() is available. See
18	# https://bugs.launchpad.net/linaro-aarch64/+bug/1160013
19	depends on !BR2_aarch64
20	depends on !BR2_arc
21
22config BR2_PACKAGE_NGINX_THREADS
23	bool "thread pool support"
24	depends on BR2_TOOLCHAIN_HAS_THREADS
25
26comment "thread pool support needs a toolchain w/ threads"
27	depends on !BR2_TOOLCHAIN_HAS_THREADS
28
29config BR2_PACKAGE_NGINX_HTTP
30	bool "http server"
31	default y
32
33if BR2_PACKAGE_NGINX_HTTP
34
35config BR2_PACKAGE_NGINX_HTTP_CACHE
36	bool "http cache support"
37	select BR2_PACKAGE_OPENSSL
38
39comment "http modules"
40
41config BR2_PACKAGE_NGINX_HTTP_SSL_MODULE
42	bool "ngx_http_ssl_module"
43	select BR2_PACKAGE_OPENSSL
44	help
45	  Enable ngx_http_ssl_module
46
47config BR2_PACKAGE_NGINX_HTTP_V2_MODULE
48	bool "ngx_http_v2_module"
49	select BR2_PACKAGE_ZLIB
50	help
51	  Enable ngx_http_spdy_module
52
53config BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE
54	bool "ngx_http_realip_module"
55	help
56	  Enable ngx_http_realip_module
57
58config BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE
59	bool "ngx_http_addition_module"
60	help
61	  Enable ngx_http_addition_module
62
63config BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE
64	bool "ngx_http_xslt_module"
65	select BR2_PACKAGE_LIBXML2
66	select BR2_PACKAGE_LIBXSLT
67	help
68	  Enable ngx_http_xslt_module
69
70config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE
71	bool "ngx_http_image_filter_module"
72	select BR2_PACKAGE_GD
73	select BR2_PACKAGE_JPEG
74	select BR2_PACKAGE_LIBPNG
75	help
76	  Enable ngx_http_image_filter_module
77
78config BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE
79	bool "ngx_http_geoip_module"
80	select BR2_PACKAGE_GEOIP
81	help
82	  Enable ngx_http_geoip_module
83
84config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE
85	bool "ngx_http_sub_module"
86	help
87	  Enable ngx_http_sub_module
88
89config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
90	bool "ngx_http_dav_module"
91	help
92	  Enable ngx_http_dav_module
93
94config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE
95	bool "ngx_http_flv_module"
96	help
97	  Enable ngx_http_flv_module
98
99config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE
100	bool "ngx_http_mp4_module"
101	help
102	  Enable ngx_http_mp4_module
103
104config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE
105	bool "ngx_http_gunzip_module"
106	select BR2_PACKAGE_ZLIB
107	help
108	  Enable ngx_http_gunzip_module
109
110config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE
111	bool "ngx_http_gzip_static_module"
112	select BR2_PACKAGE_ZLIB
113	help
114	  Enable ngx_http_gzip_static_module
115
116config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE
117	bool "ngx_http_auth_request_module"
118	help
119	  Enable ngx_http_auth_request_module
120
121config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE
122	bool "ngx_http_random_index_module"
123	help
124	  Enable ngx_http_random_index_module
125
126config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE
127	bool "ngx_http_secure_link_module"
128	select BR2_PACKAGE_OPENSSL
129	help
130	  Enable ngx_http_secure_link_module
131
132config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE
133	bool "ngx_http_degradation_module"
134	help
135	  Enable ngx_http_degradation_module
136
137config BR2_PACKAGE_NGINX_HTTP_SLICE_MODULE
138	bool "ngx_http_slice_module"
139	help
140	  Enable ngx_http_slice_module
141
142config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE
143	bool "ngx_http_stub_status_module"
144	help
145	  Enable ngx_http_stub_status_module
146
147config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
148	bool "ngx_http_charset_module"
149	default y
150	help
151	  Enable ngx_http_charset_module
152
153config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
154	bool "ngx_http_gzip_module"
155	default y
156	select BR2_PACKAGE_ZLIB
157	help
158	  Enable ngx_http_gzip_module
159
160config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE
161	bool "ngx_http_ssi_module"
162	default y
163	help
164	  Enable ngx_http_ssi_module
165
166config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE
167	bool "ngx_http_userid_module"
168	default y
169	help
170	  Enable ngx_http_userid_module
171
172config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE
173	bool "ngx_http_access_module"
174	default y
175	help
176	  Enable ngx_http_access_module
177
178config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE
179	bool "ngx_http_auth_basic_module"
180	default y
181	help
182	  Enable ngx_http_auth_basic_module
183
184config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE
185	bool "ngx_http_autoindex_module"
186	default y
187	help
188	  Enable ngx_http_autoindex_module
189
190config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE
191	bool "ngx_http_geo_module"
192	default y
193	help
194	  Enable ngx_http_geo_module
195
196config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE
197	bool "ngx_http_map_module"
198	default y
199	help
200	  Enable ngx_http_map_module
201
202config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE
203	bool "ngx_http_split_clients_module"
204	default y
205	help
206	  Enable ngx_http_split_clients_module
207
208config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
209	bool "ngx_http_referer_module"
210	default y
211	help
212	  Enable ngx_http_referer_module
213
214config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
215	bool "ngx_http_rewrite_module"
216	default y
217	select BR2_PACKAGE_PCRE
218	help
219	  Enable ngx_http_rewrite_module
220
221config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE
222	bool "ngx_http_proxy_module"
223	default y
224	help
225	  Enable ngx_http_proxy_module
226
227config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE
228	bool "ngx_http_fastcgi_module"
229	default y
230	help
231	  Enable ngx_http_fastcgi_module
232
233config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE
234	bool "ngx_http_uwsgi_module"
235	default y
236	help
237	  Enable ngx_http_uwsgi_module
238
239config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE
240	bool "ngx_http_scgi_module"
241	default y
242	help
243	  Enable ngx_http_scgi_module
244
245config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE
246	bool "ngx_http_memcached_module"
247	default y
248	help
249	  Enable ngx_http_memcached_module
250
251config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE
252	bool "ngx_http_limit_conn_module"
253	default y
254	help
255	  Enable ngx_http_limit_conn_module
256
257config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE
258	bool "ngx_http_limit_req_module"
259	default y
260	help
261	  Enable ngx_http_limit_req_module
262
263config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE
264	bool "ngx_http_empty_gif_module"
265	default y
266	help
267	  Enable ngx_http_empty_gif_module
268
269config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE
270	bool "ngx_http_browser_module"
271	default y
272	help
273	  Enable ngx_http_browser_module
274
275config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE
276	bool "ngx_http_upstream_ip_hash_module"
277	default y
278	help
279	  Enable ngx_http_upstream_ip_hash_module
280
281config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE
282	bool "ngx_http_upstream_least_conn_module"
283	default y
284	help
285	  Enable ngx_http_upstream_least_conn_module
286
287config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE
288	bool "ngx_http_upstream_keepalive_module"
289	default y
290	help
291	  Enable ngx_http_upstream_keepalive_module
292
293config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_RANDOM_MODULE
294	bool "ngx_http_upstream_random_module"
295	default y
296	help
297	  Enable ngx_http_upstream_random_module
298
299endif #BR2_PACKAGE_NGINX_HTTP
300
301config BR2_PACKAGE_NGINX_MAIL
302	bool "mail proxy modules"
303
304if BR2_PACKAGE_NGINX_MAIL
305
306config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE
307	bool "ngx_mail_ssl_module"
308	select BR2_PACKAGE_OPENSSL
309	help
310	  Enable ngx_mail_ssl_module
311
312config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE
313	bool "ngx_mail_pop3_module"
314	default y
315	help
316	  Enable ngx_mail_pop3_module
317
318config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE
319	bool "ngx_mail_imap_module"
320	default y
321	help
322	  Enable ngx_mail_imap_module
323
324config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE
325	bool "ngx_mail_smtp_module"
326	default y
327	help
328	  Enable ngx_mail_smtp_module
329
330endif #BR2_PACKAGE_NGINX_MAIL
331
332config BR2_PACKAGE_NGINX_STREAM
333	bool "stream proxy modules"
334
335if BR2_PACKAGE_NGINX_STREAM
336
337config BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE
338	bool "ngx_stream_realip_module"
339	help
340	  Enable ngx_stream_realip_module
341
342config BR2_PACKAGE_NGINX_STREAM_SET_MODULE
343	bool "ngx_stream_set_module"
344	default y
345	help
346	  Enable ngx_stream_set_module
347
348config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
349	bool "ngx_stream_ssl_module"
350	select BR2_PACKAGE_OPENSSL
351	help
352	  Enable ngx_stream_ssl_module
353
354config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE
355	bool "ngx_stream_geoip_module"
356	select BR2_PACKAGE_GEOIP
357	help
358	  Enable ngx_stream_geoip_module
359
360config BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE
361	bool "ngx_stream_ssl_preread_module"
362	help
363	  Enable ngx_stream_ssl_preread_module
364
365config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE
366	bool "ngx_stream_limit_conn_module"
367	default y
368	help
369	  Enable ngx_stream_limit_conn_module
370
371config BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE
372	bool "ngx_stream_access_module"
373	default y
374	help
375	  Enable ngx_stream_access_module
376
377config BR2_PACKAGE_NGINX_STREAM_GEO_MODULE
378	bool "ngx_stream_geo_module"
379	default y
380	help
381	  Enable ngx_stream_geo_module
382
383config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE
384	bool "ngx_stream_map_module"
385	default y
386	help
387	  Enable ngx_stream_map_module
388
389config BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE
390	bool "ngx_stream_split_clients_module"
391	default y
392	help
393	  Enable ngx_stream_split_clients_module
394
395config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE
396	bool "ngx_stream_return_module"
397	default y
398	help
399	  Enable ngx_stream_return_module
400
401config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE
402	bool "ngx_stream_upstream_hash_module"
403	default y
404	help
405	  Enable ngx_stream_upstream_hash_module
406
407config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE
408	bool "ngx_stream_upstream_least_conn_module"
409	default y
410	help
411	  Enable ngx_stream_upstream_least_conn_module
412
413config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_RANDOM_MODULE
414	bool "ngx_stream_upstream_random_module"
415	default y
416	help
417	  Enable ngx_stream_upstream_random_module
418
419config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE
420	bool "ngx_stream_upstream_zone_module"
421	default y
422	help
423	  Enable ngx_stream_upstream_zone_module
424
425endif #BR2_PACKAGE_NGINX_STREAM
426
427config BR2_PACKAGE_NGINX_DEBUG
428	bool "debug logging"
429	help
430	  Enable debug logging. The debug level should be set with
431	  the error_log directive. For example
432
433	  error_log /var/log/nginx/error.log debug;
434
435comment "misc. modules"
436
437config BR2_PACKAGE_NGINX_SELECT_MODULE
438	bool "ngx_select_module"
439	help
440	  Enable ngx_select_module
441
442config BR2_PACKAGE_NGINX_POLL_MODULE
443	bool "ngx_poll_module"
444	help
445	  Enable ngx_poll_module
446
447config BR2_PACKAGE_NGINX_ADD_MODULES
448	string "additional modules"
449	help
450	  Space separated list of urls of the additional modules
451
452endif
453