Welcome! Log In Create A New Profile

Advanced

Re: Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11

Roman Arutyunyan
December 07, 2023 07:44AM
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
arut@nginx.com




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

Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11

Gandla, Kesavardhana via nginx December 07, 2023 04:18AM

Re: Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11

Roman Arutyunyan December 07, 2023 07:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready