1 menuconfig BR2_PACKAGE_NGINX
3 depends on BR2_USE_MMU # fork()
5 nginx is an HTTP and reverse proxy server, as well as a mail proxy
12 config BR2_PACKAGE_NGINX_FILE_AIO
13 bool "file AIO support"
14 # Does not build, because nginx hardcodes using SYS_eventfd,
15 # but it's available on neither AArch64 nor ARC where only
16 # eventfd() is available. See
17 # https://bugs.launchpad.net/linaro-aarch64/+bug/1160013
18 depends on !BR2_aarch64
21 config BR2_PACKAGE_NGINX_HTTP
25 if BR2_PACKAGE_NGINX_HTTP
27 config BR2_PACKAGE_NGINX_HTTP_CACHE
28 bool "http cache support"
29 select BR2_PACKAGE_OPENSSL
31 comment "http modules"
33 config BR2_PACKAGE_NGINX_HTTP_SSL_MODULE
34 bool "ngx_http_ssl_module"
35 select BR2_PACKAGE_OPENSSL
37 Enable ngx_http_ssl_module
39 config BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE
40 bool "ngx_http_spdy_module"
41 select BR2_PACKAGE_ZLIB
43 Enable ngx_http_spdy_module
45 config BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE
46 bool "ngx_http_realip_module"
48 Enable ngx_http_realip_module
50 config BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE
51 bool "ngx_http_addition_module"
53 Enable ngx_http_addition_module
55 config BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE
56 bool "ngx_http_xslt_module"
57 select BR2_PACKAGE_LIBXML2
58 select BR2_PACKAGE_LIBXSLT
60 Enable ngx_http_xslt_module
62 config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE
63 bool "ngx_http_image_filter_module"
65 select BR2_PACKAGE_JPEG
66 select BR2_PACKAGE_LIBPNG
68 Enable ngx_http_image_filter_module
70 config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE
71 bool "ngx_http_sub_module"
73 Enable ngx_http_sub_module
75 config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
76 bool "ngx_http_dav_module"
78 Enable ngx_http_dav_module
80 config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE
81 bool "ngx_http_flv_module"
83 Enable ngx_http_flv_module
85 config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE
86 bool "ngx_http_mp4_module"
88 Enable ngx_http_mp4_module
90 config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE
91 bool "ngx_http_gunzip_module"
92 select BR2_PACKAGE_ZLIB
94 Enable ngx_http_gunzip_module
96 config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE
97 bool "ngx_http_gzip_static_module"
98 select BR2_PACKAGE_ZLIB
100 Enable ngx_http_gzip_static_module
102 config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE
103 bool "ngx_http_auth_request_module"
105 Enable ngx_http_auth_request_module
107 config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE
108 bool "ngx_http_random_index_module"
110 Enable ngx_http_random_index_module
112 config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE
113 bool "ngx_http_secure_link_module"
114 select BR2_PACKAGE_OPENSSL
116 Enable ngx_http_secure_link_module
118 config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE
119 bool "ngx_http_degradation_module"
121 Enable ngx_http_degradation_module
123 config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE
124 bool "ngx_http_stub_status_module"
126 Enable ngx_http_stub_status_module
128 config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
129 bool "ngx_http_charset_module"
132 Enable ngx_http_charset_module
134 config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
135 bool "ngx_http_gzip_module"
136 select BR2_PACKAGE_ZLIB
139 Enable ngx_http_gzip_module
141 config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE
142 bool "ngx_http_ssi_module"
145 Enable ngx_http_ssi_module
147 config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE
148 bool "ngx_http_userid_module"
151 Enable ngx_http_userid_module
153 config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE
154 bool "ngx_http_access_module"
157 Enable ngx_http_access_module
159 config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE
160 bool "ngx_http_auth_basic_module"
163 Enable ngx_http_auth_basic_module
165 config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE
166 bool "ngx_http_autoindex_module"
169 Enable ngx_http_autoindex_module
171 config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE
172 bool "ngx_http_geo_module"
175 Enable ngx_http_geo_module
177 config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE
178 bool "ngx_http_map_module"
181 Enable ngx_http_map_module
183 config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE
184 bool "ngx_http_split_clients_module"
187 Enable ngx_http_split_clients_module
189 config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
190 bool "ngx_http_referer_module"
193 Enable ngx_http_referer_module
195 config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
196 bool "ngx_http_rewrite_module"
197 select BR2_PACKAGE_PCRE
200 Enable ngx_http_rewrite_module
202 config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE
203 bool "ngx_http_proxy_module"
206 Enable ngx_http_proxy_module
208 config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE
209 bool "ngx_http_fastcgi_module"
212 Enable ngx_http_fastcgi_module
214 config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE
215 bool "ngx_http_uwsgi_module"
218 Enable ngx_http_uwsgi_module
220 config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE
221 bool "ngx_http_scgi_module"
224 Enable ngx_http_scgi_module
226 config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE
227 bool "ngx_http_memcached_module"
230 Enable ngx_http_memcached_module
232 config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE
233 bool "ngx_http_limit_conn_module"
236 Enable ngx_http_limit_conn_module
238 config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE
239 bool "ngx_http_limit_req_module"
242 Enable ngx_http_limit_req_module
244 config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE
245 bool "ngx_http_empty_gif_module"
248 Enable ngx_http_empty_gif_module
250 config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE
251 bool "ngx_http_browser_module"
254 Enable ngx_http_browser_module
256 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE
257 bool "ngx_http_upstream_ip_hash_module"
260 Enable ngx_http_upstream_ip_hash_module
262 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE
263 bool "ngx_http_upstream_least_conn_module"
266 Enable ngx_http_upstream_least_conn_module
268 config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE
269 bool "ngx_http_upstream_keepalive_module"
272 Enable ngx_http_upstream_keepalive_module
274 endif #BR2_PACKAGE_NGINX_HTTP
276 config BR2_PACKAGE_NGINX_MAIL
277 bool "mail proxy modules"
279 if BR2_PACKAGE_NGINX_MAIL
281 config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE
282 bool "ngx_mail_ssl_module"
283 select BR2_PACKAGE_OPENSSL
285 Enable ngx_mail_ssl_module
287 config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE
288 bool "ngx_mail_pop3_module"
291 Enable ngx_mail_pop3_module
293 config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE
294 bool "ngx_mail_imap_module"
297 Enable ngx_mail_imap_module
299 config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE
300 bool "ngx_mail_smtp_module"
303 Enable ngx_mail_smtp_module
305 endif #BR2_PACKAGE_NGINX_MAIL
307 comment "misc. modules"
309 config BR2_PACKAGE_NGINX_SELECT_MODULE
310 bool "ngx_select_module"
312 Enable ngx_select_module
314 config BR2_PACKAGE_NGINX_POLL_MODULE
315 bool "ngx_poll_module"
317 Enable ngx_poll_module
319 config BR2_PACKAGE_NGINX_ADD_MODULES
320 string "additional modules"
322 Space separated list of urls of the additional modules