Oh thx. This error comes from too much changes. On Thu, 31 Mar 2022, 20:53 Sergey A. Osokin, <o...@freebsd.org.ru> wrote:
> On Thu, Mar 31, 2022 at 08:09:25PM +0200, Sören Reinecke wrote: > > Hello NGINX community, > > > > nginx gives me the error messages > > - "js_import" is not allowed here > > and > > - "js_content" is unknown > > > > and don't know what I did wrong. > > > > > > I have the following NGINX config at '/etc/nginx/nginx.conf' > > > > load_module modules/ngx_stream_js_module.so; > > You'd need to load another NJS module to support http: > > load_module modules/ngx_http_js_module.so; > > -- > Sergey A. Osokin > _______________________________________________ > nginx mailing list -- nginx@nginx.org > To unsubscribe send an email to nginx-le...@nginx.org >
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org