Config.in 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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 proxy
  7. server.
  8. http://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_SUB_MODULE
  63. bool "ngx_http_sub_module"
  64. help
  65. Enable ngx_http_sub_module
  66. config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
  67. bool "ngx_http_dav_module"
  68. help
  69. Enable ngx_http_dav_module
  70. config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE
  71. bool "ngx_http_flv_module"
  72. help
  73. Enable ngx_http_flv_module
  74. config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE
  75. bool "ngx_http_mp4_module"
  76. help
  77. Enable ngx_http_mp4_module
  78. config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE
  79. bool "ngx_http_gunzip_module"
  80. select BR2_PACKAGE_ZLIB
  81. help
  82. Enable ngx_http_gunzip_module
  83. config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE
  84. bool "ngx_http_gzip_static_module"
  85. select BR2_PACKAGE_ZLIB
  86. help
  87. Enable ngx_http_gzip_static_module
  88. config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE
  89. bool "ngx_http_auth_request_module"
  90. help
  91. Enable ngx_http_auth_request_module
  92. config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE
  93. bool "ngx_http_random_index_module"
  94. help
  95. Enable ngx_http_random_index_module
  96. config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE
  97. bool "ngx_http_secure_link_module"
  98. select BR2_PACKAGE_OPENSSL
  99. help
  100. Enable ngx_http_secure_link_module
  101. config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE
  102. bool "ngx_http_degradation_module"
  103. help
  104. Enable ngx_http_degradation_module
  105. config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE
  106. bool "ngx_http_stub_status_module"
  107. help
  108. Enable ngx_http_stub_status_module
  109. config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
  110. bool "ngx_http_charset_module"
  111. default y
  112. help
  113. Enable ngx_http_charset_module
  114. config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
  115. bool "ngx_http_gzip_module"
  116. select BR2_PACKAGE_ZLIB
  117. default y
  118. help
  119. Enable ngx_http_gzip_module
  120. config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE
  121. bool "ngx_http_ssi_module"
  122. default y
  123. help
  124. Enable ngx_http_ssi_module
  125. config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE
  126. bool "ngx_http_userid_module"
  127. default y
  128. help
  129. Enable ngx_http_userid_module
  130. config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE
  131. bool "ngx_http_access_module"
  132. default y
  133. help
  134. Enable ngx_http_access_module
  135. config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE
  136. bool "ngx_http_auth_basic_module"
  137. default y
  138. help
  139. Enable ngx_http_auth_basic_module
  140. config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE
  141. bool "ngx_http_autoindex_module"
  142. default y
  143. help
  144. Enable ngx_http_autoindex_module
  145. config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE
  146. bool "ngx_http_geo_module"
  147. default y
  148. help
  149. Enable ngx_http_geo_module
  150. config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE
  151. bool "ngx_http_map_module"
  152. default y
  153. help
  154. Enable ngx_http_map_module
  155. config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE
  156. bool "ngx_http_split_clients_module"
  157. default y
  158. help
  159. Enable ngx_http_split_clients_module
  160. config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
  161. bool "ngx_http_referer_module"
  162. default y
  163. help
  164. Enable ngx_http_referer_module
  165. config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
  166. bool "ngx_http_rewrite_module"
  167. select BR2_PACKAGE_PCRE
  168. default y
  169. help
  170. Enable ngx_http_rewrite_module
  171. config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE
  172. bool "ngx_http_proxy_module"
  173. default y
  174. help
  175. Enable ngx_http_proxy_module
  176. config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE
  177. bool "ngx_http_fastcgi_module"
  178. default y
  179. help
  180. Enable ngx_http_fastcgi_module
  181. config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE
  182. bool "ngx_http_uwsgi_module"
  183. default y
  184. help
  185. Enable ngx_http_uwsgi_module
  186. config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE
  187. bool "ngx_http_scgi_module"
  188. default y
  189. help
  190. Enable ngx_http_scgi_module
  191. config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE
  192. bool "ngx_http_memcached_module"
  193. default y
  194. help
  195. Enable ngx_http_memcached_module
  196. config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE
  197. bool "ngx_http_limit_conn_module"
  198. default y
  199. help
  200. Enable ngx_http_limit_conn_module
  201. config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE
  202. bool "ngx_http_limit_req_module"
  203. default y
  204. help
  205. Enable ngx_http_limit_req_module
  206. config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE
  207. bool "ngx_http_empty_gif_module"
  208. default y
  209. help
  210. Enable ngx_http_empty_gif_module
  211. config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE
  212. bool "ngx_http_browser_module"
  213. default y
  214. help
  215. Enable ngx_http_browser_module
  216. config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE
  217. bool "ngx_http_upstream_ip_hash_module"
  218. default y
  219. help
  220. Enable ngx_http_upstream_ip_hash_module
  221. config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE
  222. bool "ngx_http_upstream_least_conn_module"
  223. default y
  224. help
  225. Enable ngx_http_upstream_least_conn_module
  226. config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE
  227. bool "ngx_http_upstream_keepalive_module"
  228. default y
  229. help
  230. Enable ngx_http_upstream_keepalive_module
  231. endif #BR2_PACKAGE_NGINX_HTTP
  232. config BR2_PACKAGE_NGINX_MAIL
  233. bool "mail proxy modules"
  234. if BR2_PACKAGE_NGINX_MAIL
  235. config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE
  236. bool "ngx_mail_ssl_module"
  237. select BR2_PACKAGE_OPENSSL
  238. help
  239. Enable ngx_mail_ssl_module
  240. config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE
  241. bool "ngx_mail_pop3_module"
  242. default y
  243. help
  244. Enable ngx_mail_pop3_module
  245. config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE
  246. bool "ngx_mail_imap_module"
  247. default y
  248. help
  249. Enable ngx_mail_imap_module
  250. config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE
  251. bool "ngx_mail_smtp_module"
  252. default y
  253. help
  254. Enable ngx_mail_smtp_module
  255. endif #BR2_PACKAGE_NGINX_MAIL
  256. config BR2_PACKAGE_NGINX_STREAM
  257. bool "stream proxy modules"
  258. if BR2_PACKAGE_NGINX_STREAM
  259. config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE
  260. bool "ngx_stream_ssl_module"
  261. select BR2_PACKAGE_OPENSSL
  262. help
  263. Enable ngx_stream_ssl_module
  264. config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE
  265. bool "ngx_stream_limit_conn_module"
  266. default y
  267. help
  268. Enable ngx_stream_limit_conn_module
  269. config BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE
  270. bool "ngx_stream_access_module"
  271. default y
  272. help
  273. Enable ngx_stream_access_module
  274. config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE
  275. bool "ngx_stream_upstream_hash_module"
  276. default y
  277. help
  278. Enable ngx_stream_upstream_hash_module
  279. config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE
  280. bool "ngx_stream_upstream_least_conn_module"
  281. default y
  282. help
  283. Enable ngx_stream_upstream_least_conn_module
  284. config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE
  285. bool "ngx_stream_upstream_zone_module"
  286. default y
  287. help
  288. Enable ngx_stream_upstream_zone_module
  289. endif #BR2_PACKAGE_NGINX_STREAM
  290. config BR2_PACKAGE_NGINX_DEBUG
  291. bool "debug logging"
  292. help
  293. Enable debug logging. The debug level should be set with
  294. the error_log directive. For example
  295. error_log /var/log/nginx/error.log debug;
  296. comment "misc. modules"
  297. config BR2_PACKAGE_NGINX_SELECT_MODULE
  298. bool "ngx_select_module"
  299. help
  300. Enable ngx_select_module
  301. config BR2_PACKAGE_NGINX_POLL_MODULE
  302. bool "ngx_poll_module"
  303. help
  304. Enable ngx_poll_module
  305. config BR2_PACKAGE_NGINX_ADD_MODULES
  306. string "additional modules"
  307. help
  308. Space separated list of urls of the additional modules
  309. endif