Hi,

> On 7 Dec 2023, at 13:17, Gandla, Kesavardhana via nginx <nginx@nginx.org> 
> wrote:
> 
> Dear NGINX community,
>  
> I am Kesavardhana Gandla from Medtronic R&D, Bangalore. I am trying to 
> evaluate the nginx on YOCTO Linux based embedded product.
> My Linux version: 5.15.71  aarch64 GNU/Linux.
> While using the stream option on target the below error is coming.
>  
> Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11
> Attached the nginx.conf file for reference.
> nginx -V
> nginx version: nginx/1.20.1
> built with OpenSSL 3.0.7 1 Nov 2022
> TLS SNI support enabled
> configure arguments: --crossbuild=Linux:aarch64 --with-endian=little 
> --with-int=4 --with-long=8 --with-long-long=8 --with-ptr-size=8 
> --with-sig-atomic-t=8 --with-size-t=8 --with-off-t=8 --with-time-t=8 
> --with-sys-nerr=132 --conf-path=/etc/nginx/nginx.conf 
> --http-log-path=/var/log/nginx/access.log 
> --error-log-path=/var/log/nginx/error.log 
> --http-client-body-temp-path=/run/nginx/client_body_temp 
> --http-proxy-temp-path=/run/nginx/proxy_temp 
> --http-fastcgi-temp-path=/run/nginx/fastcgi_temp 
> --http-uwsgi-temp-path=/run/nginx/uwsgi_temp 
> --http-scgi-temp-path=/run/nginx/scgi_temp --pid-path=/run/nginx/nginx.pid 
> --prefix=/usr --with-threads --with-http_gzip_static_module 
> --with-http_ssl_module
>  
> Could you please provide your feedback to resolve the above error “unknown 
> directive stream”?
> Does open source version of NGNX support stream directive? If yes, how to 
> include it in the yocto build?

Stream support in nginx is enabled by "--with-stream" configuration option.
Apparently your nginx is now built without Stream support.

----
Roman Arutyunyan
a...@nginx.com




_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to