"js_import" is not allowed here, "js_content" is unknown

Sören Reinecke soeren.reinecke at trufi-association.org
Thu Mar 31 19:23:31 UTC 2022


Oh thx. This error comes from too much changes.

On Thu, 31 Mar 2022, 20:53 Sergey A. Osokin, <osa at 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 at nginx.org
> To unsubscribe send an email to nginx-leave at nginx.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220331/fc19e8cf/attachment.htm>


More information about the nginx mailing list