浏览代码

nginx: fix dependence to NGINX_SSL

the upstream_check and proxyprotocol module need NGINX_SSL. So remove them
from default and add the according dependence.

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
Thomas Heil 10 年前
父节点
当前提交
50862c6c3e
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5
    3
      net/nginx/Config.in

+ 5
- 3
net/nginx/Config.in 查看文件

@@ -170,9 +170,10 @@ config NGINX_PROXYPROTOCOL
170 170
 	bool
171 171
 	prompt "Enable HAProxy proxyprotocol"
172 172
 	select PACKAGE_nginx-proxyprotocol
173
-	default y
173
+	select NGINX_SSL
174
+	default n
174 175
 	help
175
-		Enable support for NAXSI WAF.
176
+		Enable support for PROXY PROTOCOL
176 177
 
177 178
 config NGINX_SYSLOG
178 179
 	bool
@@ -184,7 +185,8 @@ config NGINX_SYSLOG
184 185
 
185 186
 config NGINX_HTTP_UPSTREAM_CHECK
186 187
 	bool
188
+	select NGINX_SSL
187 189
 	prompt "Enable HTTP upstream check module"
188
-	default y
190
+	default n
189 191
 
190 192
 endmenu