1 menuconfig BR2_PACKAGE_NGINX
3 depends on BR2_USE_MMU # fork()
4 select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3
6 nginx is an HTTP and reverse proxy server, as well as a mail proxy
13 config 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
22 config BR2_PACKAGE_NGINX_THREADS
23 bool "thread pool support"
24 depends on BR2_TOOLCHAIN_HAS_THREADS
26 comment "thread pool support needs a toolchain w/ threads"
27 depends on !BR2_TOOLCHAIN_HAS_THREADS
29 config BR2_PACKAGE_NGINX_HTTP
33 if BR2_PACKAGE_NGINX_HTTP
35 config BR2_PACKAGE_NGINX_HTTP_CACHE
36 bool "http cache support"
37 select BR2_PACKAGE_OPENSSL
39 comment "http modules"
41 config BR2_PACKAGE_NGINX_HTTP_SSL_MODULE
42 bool "ngx_http_ssl_module"
43 select BR2_PACKAGE_OPENSSL
45 Enable ngx_http_ssl_module
47 config BR2_PACKAGE_NGINX_HTTP_V2_MODULE
48 bool "ngx_http_v2_module"
49 select BR2_PACKAGE_ZLIB
51 Enable ngx_http_spdy_module
53 config BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE
54 bool "ngx_http_realip_module"
56 Enable ngx_http_realip_module
58 config BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE
59 bool "ngx_http_addition_module"
61 Enable ngx_http_addition_module
63 config BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE
64 bool "ngx_http_xslt_module"
65 select BR2_PACKAGE_LIBXML2
66 select BR2_PACKAGE_LIBXSLT
68 Enable ngx_http_xslt_module
70 config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE
71 bool "ngx_http_image_filter_module"
73 select BR2_PACKAGE_JPEG
74 select BR2_PACKAGE_LIBPNG
76 Enable ngx_http_image_filter_module
78 config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE
79 bool "ngx_http_sub_module"
81 Enable ngx_http_sub_module
83 config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
84 bool "ngx_http_dav_module"
86 Enable ngx_http_dav_module
88 config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE
89 bool "ngx_http_flv_module"
91 Enable ngx_http_flv_module
93 config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE
94 bool "ngx_http_mp4_module"
96 Enable ngx_http_mp4_module
98 config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE
99 bool "ngx_http_gunzip_module"
100 select BR2_PACKAGE_ZLIB
102 Enable ngx_http_gunzip_module
104 config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE
105 bool "ngx_http_gzip_static_module"
106 select BR2_PACKAGE_ZLIB
108 Enable ngx_http_gzip_static_module
110 config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE
111 bool "ngx_http_auth_request_module"
113 Enable ngx_http_auth_request_module
115 config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE
116 bool "ngx_http_random_index_module"
118 Enable ngx_http_random_index_module
120 config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE
121 bool "ngx_http_secure_link_module"
122 select BR2_PACKAGE_OPENSSL
124 Enable ngx_http_secure_link_module
126 config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE
127 bool "ngx_http_degradation_module"
129 Enable ngx_http_degradation_module
131 config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE
132 bool "ngx_http_stub_status_module"
134 Enable ngx_http_stub_status_module
136 config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
137 bool "ngx_http_charset_module"
140 Enable ngx_http_charset_module
142 config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
143 bool "ngx_http_gzip_module"
144 select BR2_PACKAGE_ZLIB
147 Enable ngx_http_gzip_module
149 config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE
150 bool "ngx_http_ssi_module"
153 Enable ngx_http_ssi_module
155 config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE
156 bool "ngx_http_userid_module"
159 Enable ngx_http_userid_module
161 config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE
162 bool "ngx_http_access_module"
165 Enable ngx_http_access_module
167 config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE
168 bool "ngx_http_auth_basic_module"
171 Enable ngx_http_auth_basic_module
173 config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE
174 bool "ngx_http_autoindex_module"
177 Enable ngx_http_autoindex_module
179 config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE
180 bool "ngx_http_geo_module"
183 Enable ngx_http_geo_module
185 config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE
186 bool "ngx_http_map_module"
189 Enable ngx_http_map_module
191 config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE
192 bool "ngx_http_split_clients_module"
195 Enable ngx_http_split_clients_module
197 config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
198 bool "ngx_http_referer_module"
201 Enable ngx_http_referer_module
203 config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
204 bool "ngx_http_rewrite_module"
205 select BR2_PACKAGE_PCRE
208 Enable ngx_http_rewrite_module
210 config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE
211 bool "ngx_http_proxy_module"
214 Enable ngx_http_proxy_module
216 config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE
217 bool "ngx_http_fastcgi_module"
220 Enable ngx_http_fastcgi_module
222 config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE
223 bool "ngx_http_uwsgi_module"
226 Enable ngx_http_uwsgi_module
228 config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE
229 bool "ngx_http_scgi_module"
232 Enable ngx_http_scgi_module
234 config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE
235 bool "ngx_http_memcached_module"
238 Enable ngx_http_memcached_module
240 config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE
241 bool "ngx_http_limit_conn_module"
244 Enable ngx_http_limit_conn_module
246 config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE
247 bool "ngx_http_limit_req_module"
250 Enable ngx_http_limit_req_module
252 config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE
253 bool "ngx_http_empty_gif_module"
256 Enable ngx_http_empty_gif_module
258 config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE
259 bool "ngx_http_browser_module"
262 Enable ngx_http_browser_module
264 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE
265 bool "ngx_http_upstream_ip_hash_module"
268 Enable ngx_http_upstream_ip_hash_module
270 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE
271 bool "ngx_http_upstream_least_conn_module"
274 Enable ngx_http_upstream_least_conn_module
276 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE
277 bool "ngx_http_upstream_keepalive_module"
280 Enable ngx_http_upstream_keepalive_module
282 endif #BR2_PACKAGE_NGINX_HTTP
284 config BR2_PACKAGE_NGINX_MAIL
285 bool "mail proxy modules"
287 if BR2_PACKAGE_NGINX_MAIL
289 config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE
290 bool "ngx_mail_ssl_module"
291 select BR2_PACKAGE_OPENSSL
293 Enable ngx_mail_ssl_module
295 config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE
296 bool "ngx_mail_pop3_module"
299 Enable ngx_mail_pop3_module
301 config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE
302 bool "ngx_mail_imap_module"
305 Enable ngx_mail_imap_module
307 config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE
308 bool "ngx_mail_smtp_module"
311 Enable ngx_mail_smtp_module
313 endif #BR2_PACKAGE_NGINX_MAIL
315 config BR2_PACKAGE_NGINX_STREAM
316 bool "stream proxy modules"
318 if BR2_PACKAGE_NGINX_STREAM
320 config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
321 bool "ngx_stream_ssl_module"
322 select BR2_PACKAGE_OPENSSL
324 Enable ngx_stream_ssl_module
326 config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE
327 bool "ngx_stream_limit_conn_module"
330 Enable ngx_stream_limit_conn_module
332 config BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE
333 bool "ngx_stream_access_module"
336 Enable ngx_stream_access_module
338 config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE
339 bool "ngx_stream_upstream_hash_module"
342 Enable ngx_stream_upstream_hash_module
344 config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE
345 bool "ngx_stream_upstream_least_conn_module"
348 Enable ngx_stream_upstream_least_conn_module
350 config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE
351 bool "ngx_stream_upstream_zone_module"
354 Enable ngx_stream_upstream_zone_module
356 endif #BR2_PACKAGE_NGINX_STREAM
358 config BR2_PACKAGE_NGINX_DEBUG
361 Enable debug logging. The debug level should be set with
362 the error_log directive. For example
364 error_log /var/log/nginx/error.log debug;
366 comment "misc. modules"
368 config BR2_PACKAGE_NGINX_SELECT_MODULE
369 bool "ngx_select_module"
371 Enable ngx_select_module
373 config BR2_PACKAGE_NGINX_POLL_MODULE
374 bool "ngx_poll_module"
376 Enable ngx_poll_module
378 config BR2_PACKAGE_NGINX_ADD_MODULES
379 string "additional modules"
381 Space separated list of urls of the additional modules