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