Welcome! Log In Create A New Profile

Advanced

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

Sören Reinecke
March 31, 2022 03:28PM
Oh thx. This error comes from too much changes.

On Thu, 31 Mar 2022, 20:53 Sergey A. Osokin, <osa@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-leave@nginx.org
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

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

Sören Reinecke March 31, 2022 02:14PM

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

Sergey A. Osokin March 31, 2022 02:56PM

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

Sören Reinecke March 31, 2022 03:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready