Config.in 10 KB

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