Questions tagged «stream»

3
/etc/nginx/nginx.conf:86中的未知指令“ stream”
我有,nginx/1.12.0并且根据文件它包含stream模块。我已经使用以下命令安装了nginx。 sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx nginx -v nginx version: nginx/1.12.0 我试图在添加流指令nginx.conf: stream { upstream sys { server 172.x.x.x:9516; server 172.x.x.x:9516; } server { listen 9516 udp; proxy_pass sys; } } 但是当我重新启动nginx时,nginx日志中出现以下错误 unknown directive "stream" in /etc/nginx/nginx.conf:86 nginx -V output nginx version: nginx/1.12.0 built with …
11 nginx  stream 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.