#
# Copyright (C) 2010-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

menu "Configuration"
        depends on PACKAGE_nginx-ssl

config NGINX_DAV
	bool
	prompt "Enable WebDAV module"
	help
		Enable the HTTP and WebDAV methods PUT, DELETE, MKCOL, COPY and MOVE.
	default n

config NGINX_UBUS
	bool
	prompt "Enable UBUS module"
	help
		Enable UBUS api support directly from the server.
	default y

config NGINX_FLV
	bool
	prompt "Enable FLV module"
	help
		Provides the ability to seek within FLV (Flash) files using time-based offsets.
	default n

config NGINX_STUB_STATUS
	bool
	prompt "Enable stub status module"
	help
		Enable the stub status module which gives some status from the server.
	default n

config NGINX_HTTP_CHARSET
	bool
	prompt "Enable HTTP charset module"
	default y

config NGINX_HTTP_GZIP
	bool
	prompt "Enable HTTP gzip module"
	default y

config NGINX_HTTP_SSI
	bool
	prompt "Enable HTTP ssi module"
	default y

config NGINX_HTTP_USERID
	bool
	prompt "Enable HTTP userid module"
	default y

config NGINX_HTTP_ACCESS
	bool
	prompt "Enable HTTP access module"
	default y

config NGINX_HTTP_AUTH_BASIC
	bool
	prompt "Enable HTTP auth basic"
	default y

config NGINX_HTTP_AUTH_REQUEST
	bool
	prompt "Enable HTTP auth request module"
	default n

config NGINX_HTTP_AUTOINDEX
	bool
	prompt "Enable HTTP autoindex module"
	default y

config NGINX_HTTP_GEO
	bool
	prompt "Enable HTTP geo module"
	default y

config NGINX_HTTP_MAP
	bool
	prompt "Enable HTTP map module"
	default y

config NGINX_HTTP_SPLIT_CLIENTS
	bool
	prompt "Enable HTTP split clients"
	default y

config NGINX_HTTP_REFERER
	bool
	prompt "Enable HTTP referer module"
	default y

config NGINX_HTTP_REWRITE
	bool
	prompt "Enable HTTP rewrite module"
	select NGINX_PCRE
	default y

config NGINX_HTTP_PROXY
	bool
	prompt "Enable HTTP proxy module"
	default y

config NGINX_HTTP_FASTCGI
	bool
	prompt "Enable HTTP fastcgi module"
	default y

config NGINX_HTTP_UWSGI
	bool
	prompt "Enable HTTP uwsgi module"
	default y

config NGINX_HTTP_SCGI
	bool
	prompt "Enable HTTP scgi module"
	default y

config NGINX_HTTP_MEMCACHED
	bool
	prompt "Enable HTTP memcached module"
	default y

config NGINX_HTTP_LIMIT_CONN
	bool
	prompt "Enable HTTP limit conn"
	default y

config NGINX_HTTP_LIMIT_REQ
	bool
	prompt "Enable HTTP limit req"
	default y

config NGINX_HTTP_EMPTY_GIF
	bool
	prompt "Enable HTTP empty gif"
	default y

config NGINX_HTTP_BROWSER
	bool
	prompt "Enable HTTP browser module"
	default y

config NGINX_HTTP_UPSTREAM_HASH
	bool
	prompt "Enable HTTP hash module"
	default y

config NGINX_HTTP_UPSTREAM_IP_HASH
	bool
	prompt "Enable HTTP IP hash module"
	default y

config NGINX_HTTP_UPSTREAM_LEAST_CONN
	bool
	prompt "Enable HTTP least conn module"
	default y

config NGINX_HTTP_UPSTREAM_KEEPALIVE
	bool
	prompt "Enable HTTP keepalive module"
	default y

config NGINX_HTTP_CACHE
	bool
	prompt "Enable HTTP cache"
	default y

config NGINX_HTTP_V2
	bool
	prompt "Enable HTTP_V2 module"
	default y

config NGINX_PCRE
	bool
	prompt "Enable PCRE library usage"
	default y

config NGINX_NAXSI
	bool
	prompt "Enable NAXSI module"
	default y

config NGINX_LUA
	bool
	prompt "Enable Lua module"
	default n

config NGINX_HTTP_REAL_IP
	bool
	prompt "Enable HTTP real ip module"
	default n

config NGINX_HTTP_SECURE_LINK
	bool
	prompt "Enable HTTP secure link module"
	default n

config NGINX_HTTP_SUB
	bool
	prompt "Enable HTTP sub module"
	default n
	
config NGINX_HEADERS_MORE
	bool
	prompt "Enable Headers_more module"
	help
		Set and clear input and output headers...more than "add"!
	default y
	
config NGINX_HTTP_BROTLI
	bool
	prompt "Enable Brotli compression module"
	help
		Add support for brotli compression module.
	default n

config NGINX_STREAM_CORE_MODULE
	bool
	prompt "Enable stream support"
	help
		Add support for NGINX request streaming.
	default n

config NGINX_STREAM_SSL_MODULE
	bool
	prompt "Enable stream support with SSL/TLS termination"
	depends on NGINX_STREAM_CORE_MODULE
	help
		Add support for NGINX request streaming with SSL/TLS termination.
	default n

config NGINX_STREAM_SSL_PREREAD_MODULE
	bool
	prompt "Enable stream support with SSL/TLS pre-read"
	depends on NGINX_STREAM_CORE_MODULE
	help
		Add support for NGINX request streaming using information from the ClientHello message without terminating SSL/TLS.
	default n

config NGINX_RTMP_MODULE
	bool
	prompt "Enable RTMP module"
	help
		Add support for NGINX-based Media Streaming Server module.
		DASH enhanced - https://github.com/ut0mt8/nginx-rtmp-module
	default n

config NGINX_TS_MODULE
	bool
	prompt "Enable TS module"
	help
		Add support for MPEG-TS Live Module module.
	default n

endmenu