<div dir="auto">Oh thx. This error comes from too much changes.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 31 Mar 2022, 20:53 Sergey A. Osokin, <<a href="mailto:osa@freebsd.org.ru">osa@freebsd.org.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Mar 31, 2022 at 08:09:25PM +0200, Sören Reinecke wrote:<br>
> Hello NGINX community,<br>
> <br>
> nginx gives me the error messages<br>
> - "js_import" is not allowed here<br>
> and<br>
> - "js_content" is unknown<br>
> <br>
> and don't know what I did wrong.<br>
> <br>
> <br>
> I have the following NGINX config at '/etc/nginx/nginx.conf'<br>
> <br>
> load_module modules/ngx_stream_js_module.so;<br>
<br>
You'd need to load another NJS module to support http:<br>
<br>
load_module modules/ngx_http_js_module.so;<br>
<br>
-- <br>
Sergey A. Osokin<br>
_______________________________________________<br>
nginx mailing list -- <a href="mailto:nginx@nginx.org" target="_blank" rel="noreferrer">nginx@nginx.org</a><br>
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" target="_blank" rel="noreferrer">nginx-leave@nginx.org</a><br>
</blockquote></div>